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
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;
sudo apk add nginx
sudo apt update && sudo apt install nginx
sudo yum install nginx
sudo apt update && sudo apt install nginx
Use this original configuration file when you need to restore NGINX to its default state after misconfiguration, during fresh installations, or as a baseline for customization. It's particularly useful for troubleshooting when your current config isn't working properly.
Download this file and replace your current configuration at /etc/nginx/proxy_params
. Make sure to backup your existing configuration first, then restart the NGINX service to apply the changes.
This is the factory-default configuration that ships with NGINX on Debian 9 (Stretch). While it provides a secure baseline, you should review and customize security settings based on your specific production requirements and compliance needs.
This configuration is specifically from Debian 9 (Stretch). Different operating systems and versions may have slightly different default settings, security patches, or feature availability. Check the compatibility section above for other OS versions.
Yes, this original configuration is excellent for troubleshooting. Compare it with your current settings to identify modifications that might be causing issues, or temporarily replace your config with this one to isolate problems.