diff options
| author | 2026-04-26 05:33:46 -0600 | |
|---|---|---|
| committer | 2026-04-26 05:33:46 -0600 | |
| commit | 3679992b44585ced812f5577aec88bd1ada2bdba (patch) | |
| tree | 69a418725bb5ab2351248cc67af0d17a33aeb74a /scgi_params | |
init
Diffstat (limited to 'scgi_params')
| -rw-r--r-- | scgi_params | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/scgi_params b/scgi_params new file mode 100644 index 0000000..a9da34f --- /dev/null +++ b/scgi_params @@ -0,0 +1,20 @@ + +scgi_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; + +# httpoxy mitigation (https://httpoxy.org/ https://www.nginx.com/blog/?p=41962) +scgi_param HTTP_PROXY ""; |
