add X-Forwarded-For in custom error template (#7892)
This commit is contained in:
parent
f0490cbfbf
commit
5e6093cf59
1 changed files with 1 additions and 0 deletions
|
@ -896,6 +896,7 @@ stream {
|
|||
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 X-Forwarded-For $remote_addr;
|
||||
proxy_set_header Host $best_http_host;
|
||||
|
||||
set $proxy_upstream_name {{ $upstreamName | quote }};
|
||||
|
|
Loading…
Reference in a new issue