Forward X-Request-ID to auth service (#5301)
This commit is contained in:
parent
630278f730
commit
6037883c4a
1 changed files with 3 additions and 2 deletions
|
@ -936,6 +936,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-Forwarded-Proto "";
|
proxy_set_header X-Forwarded-Proto "";
|
||||||
|
proxy_set_header X-Request-ID $req_id;
|
||||||
|
|
||||||
{{ if $externalAuth.Method }}
|
{{ if $externalAuth.Method }}
|
||||||
proxy_method {{ $externalAuth.Method }};
|
proxy_method {{ $externalAuth.Method }};
|
||||||
|
|
Loading…
Reference in a new issue