When should I use this scgi_params?
Use it to restore a missing default, confirm what shipped, or diff against your current NGINX config.
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;
curl https://exampleconfig.com/api/v1/config/original/df8c71e25e0356ffc539742f08fddfff?hint=scgi_params
wget -O scgi_params https://exampleconfig.com/api/v1/config/original/df8c71e25e0356ffc539742f08fddfff?hint=scgi_params
<prompt><role>DevOps agent</role><source url='https://exampleconfig.com/api/v1/config/original/df8c71e25e0356ffc539742f08fddfff?hint=scgi_params' /><config><app>NGINX</app><os>Debian 9 (Stretch)</os><location>/etc/nginx/scgi_params</location><lines>17</lines><md5>df8c71e25e0356ffc539742f08fddfff</md5><sha256>f27b2027c571ccafcfb0fbb3f54d7aeee11a984e3a0f5a1fdf14629030fc9011</sha256></config></prompt>
Paste into Claude, ChatGPT, or any AI assistant.
sudo apk add nginx
sudo apt update && sudo apt install nginx
sudo yum install nginx
sudo apt update && sudo apt install nginx
When should I use this scgi_params?
Use it to restore a missing default, confirm what shipped, or diff against your current NGINX config.
How do I restore NGINX defaults?
Download the file, back up the current one in /etc/nginx/scgi_params, replace it, then reload or restart NGINX.
Is scgi_params safe for production?
It is the vendor default for Debian 9 (Stretch). Treat it as a baseline and review security and performance settings before production use.
How does this differ from other OS versions?
Defaults vary by distro and version. This copy matches Debian 9 (Stretch).
Can I use this for NGINX troubleshooting?
Yes. Diff it against yours to find drift, then restore only the sections you need.