nginx proxy_params configuration example for Debian GNU/Linux 9 (stretch)

Get the default configuration file proxy_params for nginx, optimized for Debian GNU/Linux 9 (stretch). 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;

    
  

Config Details

Location
/etc/nginx/proxy_params
Operating system
Debian GNU/Linux 9 (stretch)
Length
4 lines
MD5 checksum
2612ba3438c3b7855ea7779a879e6aef

Usage

Download the raw file with wget or curl

Wget

wget -O proxy_params.example https://exampleconfig.com/static/raw/nginx/debian9/etc/nginx/proxy_params

cURL

curl https://exampleconfig.com/static/raw/nginx/debian9/etc/nginx/proxy_params > proxy_params.example