10 lines
422 B
Plaintext
10 lines
422 B
Plaintext
## always sourced by conf.d/http-proxy.conf
|
|
|
|
## $proxy_add_forwarded is defined in conf.d/http-proxy.conf
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header Forwarded $proxy_add_forwarded;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_set_header X-Forwarded-Host $host;
|
|
proxy_set_header X-Forwarded-Port $server_port;
|