Welcome! Log In Create A New Profile

Advanced

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

Francis Daly
August 31, 2012 06:44PM
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@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

Thompson, Paige August 31, 2012 02:34PM

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

Francis Daly August 31, 2012 06:36PM

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

Francis Daly August 31, 2012 06:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 53
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready