Add X-Forwarded-For proxy header

This commit is contained in:
Kris Lamoureux 2022-05-27 22:33:35 -04:00
parent 45465ad26b
commit 330f2b5a91
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

View File

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