/etc/nginx/proxy_params - Debian GNU/Linux 9 (stretch)

This is the default example configuration of proxy_params provided by nginx. This config file was generated by nginx running on Debian 9.

It is located under: /etc/nginx/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;

    
  

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 http://exampleconfig.com/static/raw/nginx/debian9/etc/nginx/proxy_params

cURL

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