summaryrefslogtreecommitdiff
path: root/roles/nginx/base/files/snippets/proxy-forward-headers.conf
blob: 01ec0d7e4cde83dcd98773bb16e46ffdd20c1a09 (plain) (blame)
1
2
3
4
5
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;
proxy_set_header X-Forwarded-Ssl on;
proxy_set_header X-Forwarded-Port $server_port;