2012/3/2 Tib1 <nginx-forum@nginx.us>:
> Hello !
>
> I'm new to Nginx.
>
> I installed Nginx (on Gentoo) instead of Apache behind a Cisco
> LoadBalancer.
>
> My problem is that the directive $http_x_forwarded_for always write
> local IP of the LoadBalancer instead of Real IP.
>
> But I have the good IP in the header HTTP_X_FORWARD.
>
perhaps something like this:
set_real_ip_from load_balancer_ip;
real_ip_header X-Forwarded-For;
ref: http://nginx.org/en/docs/http/ngx_http_realip_module.html
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx