23 lines
908 B
Plaintext
23 lines
908 B
Plaintext
# This is an NGINX configuration file written and used by me in order to set SCGI request parameters.
|
|
#
|
|
# (c) Corrado Mulas <tlc@mulas.me>
|
|
#
|
|
# For the full copyright and license information, please view the LICENSE
|
|
# file that was distributed with this source code.
|
|
|
|
iscgi_param REQUEST_METHOD $request_method;
|
|
scgi_param REQUEST_URI $request_uri;
|
|
scgi_param QUERY_STRING $query_string;
|
|
scgi_param CONTENT_TYPE $content_type;
|
|
|
|
scgi_param DOCUMENT_URI $document_uri;
|
|
scgi_param DOCUMENT_ROOT $document_root;
|
|
scgi_param SCGI 1;
|
|
scgi_param SERVER_PROTOCOL $server_protocol;
|
|
scgi_param REQUEST_SCHEME $scheme;
|
|
scgi_param HTTPS $https if_not_empty;
|
|
|
|
scgi_param REMOTE_ADDR $remote_addr;
|
|
scgi_param REMOTE_PORT $remote_port;
|
|
scgi_param SERVER_PORT $server_port;
|
|
scgi_param SERVER_NAME $server_name; |