FIX pass http basic authentication to upstream proxy

This commit is contained in:
Carlos Troncoso Phillips 2016-07-28 23:17:49 -04:00
parent 30128cfda0
commit 08dab074c7

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 "";