Strip the Forwarded header since nothing is compatible with it yet

master
Florent Daigniere 3 years ago
parent 6e32092abd
commit 6bba0cecfc

@ -1,6 +1,7 @@
# Default proxy setup # Default proxy setup
proxy_set_header Host $http_host; proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Forwarded "";
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $proxy_x_forwarded_proto; proxy_set_header X-Forwarded-Proto $proxy_x_forwarded_proto;
proxy_http_version 1.1; proxy_http_version 1.1;

Loading…
Cancel
Save