Module Web Services API REST (developer): Difference between revisions

→‎Nginx setup: fix formatting
(→‎Nginx setup: fix formatting)
Line 32: Line 32:
==Nginx setup==
==Nginx setup==
This is a simple localhost setup with a working REST API handling (tested with 9.0.1 on parabola gnu/linux).
This is a simple localhost setup with a working REST API handling (tested with 9.0.1 on parabola gnu/linux).
<code language=nginx>
<source language="nginx">
#user html;
worker_processes  1;
worker_processes  1;
error_log  /var/log/nginx/error.log;
error_log  /var/log/nginx/error.log;
#error_log  error.log  notice;
#error_log  error.log  info;
#pid        logs/nginx.pid;


events {
events {
Line 94: Line 87:
     }
     }
}
}
</code>
</source>


= List of provided services =
= List of provided services =
53

edits