Get the default configuration file proxy_params for nginx, optimized for Debian GNU/Linux 11 (bullseye). This example configuration ensures optimal compatibility and performance for nginx, making it easy to set up and adjust to meet your needs.
Find and download the configuration file here: /etc/nginx/proxy_params.
For more configurations and setup guides, visit our related files section to further customize your system.
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;
Download the raw file with wget or curl
wget -O proxy_params.example https://exampleconfig.com/static/raw/nginx/debian11/etc/nginx/proxy_params
curl https://exampleconfig.com/static/raw/nginx/debian11/etc/nginx/proxy_params > proxy_params.example
Other config files you might find useful