Merge pull request #595 from aledbf/ext-auth-host-header

Remove Host header from auth_request proxy configuration
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-04-12 10:03:30 -03:00 committed by GitHub
commit 4b07d2452d

View file

@ -275,7 +275,6 @@ http {
proxy_set_header X-Original-URI $request_uri;
proxy_set_header X-Scheme $pass_access_scheme;
{{ end }}
proxy_set_header Host $best_http_host;
proxy_pass_request_headers on;
set $target {{ $location.ExternalAuth.URL }};
proxy_pass $target;