nginx proxy_params configuration example for Ubuntu 18.04 LTS (Bionic Beaver)

Get the default configuration file proxy_params for nginx, optimized for Ubuntu 18.04 LTS (Bionic Beaver). 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
Ubuntu 18.04 LTS (Bionic Beaver)
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/ubuntu18.04/etc/nginx/proxy_params

cURL

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