Prevent X-Forwarded-Proto forward during external auth subrequest
This commit is contained in:
parent
14fe4898a7
commit
e1720d62f4
1 changed files with 1 additions and 0 deletions
|
@ -841,6 +841,7 @@ stream {
|
||||||
|
|
||||||
proxy_pass_request_body off;
|
proxy_pass_request_body off;
|
||||||
proxy_set_header Content-Length "";
|
proxy_set_header Content-Length "";
|
||||||
|
proxy_set_header X-Fowarded-Proto "";
|
||||||
|
|
||||||
{{ if $location.ExternalAuth.Method }}
|
{{ if $location.ExternalAuth.Method }}
|
||||||
proxy_method {{ $location.ExternalAuth.Method }};
|
proxy_method {{ $location.ExternalAuth.Method }};
|
||||||
|
|
Loading…
Reference in a new issue