Add X-Forwarded-For proxy header
This commit is contained in:
parent
45465ad26b
commit
330f2b5a91
@ -30,6 +30,7 @@ server {
|
||||
location / {
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_pass {{ item.proxy_pass }};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user