Set X-Request-ID for the default-backend, too.

This commit is contained in:
Gregor Noczinski 2019-03-22 11:33:11 +01:00
parent ec81605cae
commit 1bef3e75b2
4 changed files with 20 additions and 11 deletions

View file

@ -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 }}