/etc/nginx/proxy_params - Ubuntu 14.04 LTS (Trusty Tahr)

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

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
Ubuntu 14.04 LTS (Trusty Tahr)
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/ubuntu14.04/etc/nginx/proxy_params

cURL

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