Merge pull request #1665 from chrisblu/master

Add the original http request method to the auth request
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-11-08 11:14:33 -03:00 committed by GitHub
commit b68feb9c59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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