When should I use this proxy_params?
Use it to restore a missing default, confirm what shipped, or diff against your current NGINX config.
proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme;
curl https://exampleconfig.com/api/v1/config/original/2612ba3438c3b7855ea7779a879e6aef?hint=proxy_params
wget -O proxy_params https://exampleconfig.com/api/v1/config/original/2612ba3438c3b7855ea7779a879e6aef?hint=proxy_params
<prompt><role>DevOps agent</role><source url='https://exampleconfig.com/api/v1/config/original/2612ba3438c3b7855ea7779a879e6aef?hint=proxy_params' /><config><app>NGINX</app><os>Debian 9 (Stretch)</os><location>/etc/nginx/proxy_params</location><lines>4</lines><md5>2612ba3438c3b7855ea7779a879e6aef</md5><sha256>7cff43a9768c1112bb074e9f26aaa1173da6ef85a7a20838242e846835c8eeb2</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 proxy_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/proxy_params, replace it, then reload or restart NGINX.
Is proxy_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.