FIX pass http basic authentication to upstream proxy
This commit is contained in:
parent
30128cfda0
commit
08dab074c7
1 changed files with 1 additions and 0 deletions
|
@ -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 "";
|
||||
|
|
Loading…
Reference in a new issue