mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 21:22:40 +00:00
29fb134633
This sorts out HTTP servers, hopefully. Adaptation for systemd and documentation are still required
16 lines
731 B
Text
16 lines
731 B
Text
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 REQUEST_METHOD $request_method;
|
|
fastcgi_param CONTENT_TYPE $content_type;
|
|
fastcgi_param CONTENT_LENGTH $content_length;
|
|
fastcgi_param REQUEST_URI $uri;
|
|
fastcgi_param QUERY_STRING $query_string;
|
|
fastcgi_param HTTPS $https if_not_empty;
|
|
fastcgi_param REMOTE_USER $remote_user;
|
|
fastcgi_param SCRIPT_FILENAME /usr/share/webapps/arsse/arsse.php;
|
|
|
|
# Modify the below line to begin with "/run/php-fpm-legacy/" if using the php-legacy package
|
|
fastcgi_pass unix:/run/php/arsse.sock;
|