Skip to content

Commit

Permalink
Merge pull request #1665 from chrisblu/master
Browse files Browse the repository at this point in the history
Add the original http request method to the auth request
  • Loading branch information
aledbf authored Nov 8, 2017
2 parents 9cec069 + 2dfaaa7 commit b68feb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rootfs/etc/nginx/template/nginx.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down

0 comments on commit b68feb9

Please sign in to comment.