Merge pull request #1468 from killfill/auth-add-original-url

Add the original URL to the auth request
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-10-03 12:10:23 -07:00 committed by GitHub
commit 6aae6366f9

View file

@ -668,6 +668,7 @@ stream {
{{ end }}
proxy_pass_request_headers on;
proxy_set_header Host {{ $location.ExternalAuth.Host }};
proxy_set_header X-Original-URL $scheme://$http_host$request_uri;
proxy_ssl_server_name on;
client_max_body_size "{{ $location.Proxy.BodySize }}";