This commit is contained in:
ctroncoso 2016-12-01 10:24:36 +00:00 committed by GitHub
commit 7fe227b2a2

View file

@ -51,6 +51,7 @@ proxy_set_header Connection $proxy_connection;
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 $proxy_x_forwarded_proto;
more_set_input_headers 'Authorization: $http_authorization';
# Mitigate httpoxy attack (see README for details)
proxy_set_header Proxy "";