organized, change to more common header values

This commit is contained in:
Asif Bacchus 2019-06-03 21:09:33 -06:00
parent 5aafc1ad47
commit 1900dfa42d
1 changed files with 8 additions and 4 deletions

View File

@ -3,10 +3,14 @@
#######
proxy_set_header Host $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-Host $host;
proxy_set_header X-Forwarded-Protocol $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-Protocol $scheme;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header Early-Data $ssl_early_data;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
# if 'ssl_early_data' enabled in SSL configuration, then uncomment this
#proxy_set_header Early-Data $ssl_early_data;