Correct IP in access log

mike mike503 at gmail.com
Tue Sep 30 04:58:14 MSD 2008


On Mon, Sep 29, 2008 at 4:48 PM, Neil Sheth <nsheth at gmail.com> wrote:

> Looking at the access log on the new server, I see all requests coming
> from the same IP - that of the old server.  Any thoughts?

you need to configure the backend nginx to "trust" the header of the
frontend using "set_real_ip_from"

set_real_ip_from 192.168.1.0/24;

etc.





More information about the nginx mailing list