Stud -> Haproxy -> and Nginx; nginx real_ip_header isn't working as expected, can't scale

Francis Daly francis at daoine.org
Fri Aug 31 22:42:41 UTC 2012


On Fri, Aug 31, 2012 at 11:34:45PM +0100, Francis Daly wrote:
> On Fri, Aug 31, 2012 at 11:32:13AM -0700, Thompson, Paige wrote:

Hi there,

> And a quick test of
> 
> curl -i -H 'X-Forwarded-For: 10.0.1.99' http://localhost:8080/
> 
> shows "10.0.1.99" as the first field in access.log.

...when my source address was 127.0.0.1 and my important other directive
was

  set_real_ip_from 127.0.0.0/16;

in order to include my source address in the set_real_ip_from network

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list