Add the original http request method to the auth request

This commit is contained in:
chrisblu 2017-11-08 12:14:04 +01:00
parent 9cec069dff
commit 2dfaaa7b9d

View file

@ -646,6 +646,7 @@ stream {
proxy_set_header Host {{ $location.ExternalAuth.Host }};
proxy_set_header X-Original-URL $scheme://$http_host$request_uri;
proxy_set_header X-Original-Method $request_method;
proxy_set_header X-Auth-Request-Redirect $request_uri;
proxy_set_header X-Sent-From "nginx-ingress-controller";