Add the original http request method to the auth request
This commit is contained in:
parent
9cec069dff
commit
2dfaaa7b9d
1 changed files with 1 additions and 0 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue