Required Help on satisfy any setup
mathi
nginx-forum at nginx.us
Tue Feb 24 15:50:06 UTC 2015
I do use following proxy set options.
ocation / {
proxy_pass http://backend;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Port 80;
proxy_set_header Host $host;
}
In my upstream the backend the my protected second NGINX server.
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,256888,256890#msg-256890
More information about the nginx
mailing list