Set X-Request-ID for the default-backend, too.
This commit is contained in:
parent
ec81605cae
commit
1bef3e75b2
4 changed files with 20 additions and 11 deletions
|
|
@ -815,6 +815,7 @@ stream {
|
|||
proxy_set_header X-Ingress-Name $ingress_name;
|
||||
proxy_set_header X-Service-Name $service_name;
|
||||
proxy_set_header X-Service-Port $service_port;
|
||||
proxy_set_header X-Request-ID $req_id;
|
||||
proxy_set_header Host $best_http_host;
|
||||
|
||||
set $proxy_upstream_name {{ $upstreamName }};
|
||||
|
|
@ -1318,6 +1319,7 @@ stream {
|
|||
proxy_set_header X-Ingress-Name $ingress_name;
|
||||
proxy_set_header X-Service-Name $service_name;
|
||||
proxy_set_header X-Service-Port $service_port;
|
||||
proxy_set_header X-Request-ID $req_id;
|
||||
{{ end }}
|
||||
|
||||
{{ if $location.Satisfy }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue