mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-23 06:14:55 +00:00
cc2296522c
- Don't load a config (and possibly create a database) in CLI if a configuration is not required - Removed the 'dbSchemaBase' config option, which is really a testing hack - Added sample Nginx configuration - Fixed bug in REST handler - Readme still needs work
12 lines
No EOL
590 B
Text
12 lines
No EOL
590 B
Text
fastcgi_pass php; # PHP is assumed to already be configured for FastCGI operation
|
|
fastcgi_pass_header Authorization; # required if the Arsse is to perform its own HTTP authentication
|
|
fastcgi_pass_request_body on;
|
|
fastcgi_pass_request_headers on;
|
|
fastcgi_intercept_errors off;
|
|
fastcgi_buffering off;
|
|
fastcgi_param SCRIPT_FILENAME /usr/share/arsse/arsse.php;
|
|
fastcgi_param REQUEST_METHOD $request_method;
|
|
fastcgi_param CONTENT_TYPE $content_type;
|
|
fastcgi_param CONTENT_LENGTH $content_length;
|
|
fastcgi_param REQUEST_URI $request_uri;
|
|
fastcgi_param HTTPS $https if_not_empty; |