Varnish (reverse proxy) + nginx with php and REMOTE_ADDR issue.

Rob Schultz rschultz7 at gmail.com
Sun Jan 3 23:41:05 MSK 2010


Hi,

On Jan 3, 2010, at 2:24 PM, Piotr Karbowski wrote:

> I think I should change fastcgi_param REMOTE_ADDR to insert
> X-forward-for here but I don't know if this is even possible. I
> googling around and I didnt find anything about how change REMOTE_ADDR
> what Varnish sending for nginx so I think to make workaround and
> change in nginx REMOTE_ADDR to X-FORWARD-FOR.

http://wiki.nginx.org/NginxHttpRealIpModule

V/r,
Rob



More information about the nginx mailing list