Add the original URL to the auth request

This commit is contained in:
killfill 2017-10-03 15:48:41 -03:00
parent 180d0dfca2
commit c16d42d3f7

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