Unset Authorization header when proxying.

This commit is contained in:
Alexander Staubo 2016-07-17 22:02:02 -04:00
parent ce7085d277
commit 5effb7b4e3

View file

@ -225,6 +225,7 @@ http {
auth_digest "{{ $location.Auth.Realm }}"; auth_digest "{{ $location.Auth.Realm }}";
auth_digest_user_file {{ $location.Auth.File }}; auth_digest_user_file {{ $location.Auth.File }};
{{ end }} {{ end }}
proxy_set_header Authorization "";
{{- end }} {{- end }}
proxy_set_header Host $host; proxy_set_header Host $host;