always use x-request-id

This commit is contained in:
Elvin Efendi 2018-04-28 00:26:33 -04:00
parent 69fce01325
commit 51cf184c51
3 changed files with 3 additions and 2 deletions

View file

@ -1015,6 +1015,7 @@ stream {
proxy_set_header Connection $connection_upgrade;
{{ end }}
proxy_set_header X-Request-ID $req_id;
proxy_set_header X-Real-IP $the_real_ip;
{{ if $all.Cfg.ComputeFullForwardedFor }}
proxy_set_header X-Forwarded-For $full_x_forwarded_for;