Re: XForwardfor Varnish behind HaProxy

2013-12-09 Thread Baptiste
Hi Clemence, If I were you, I would ask HAProxy to forward client IP address in an header named differently than X-Forwarded-For, something like X-Client-IP. Then configure you nginx to log the IP found in X-Client-IP and you're done. Baptiste

Re: XForwardfor Varnish behind HaProxy

2013-12-07 Thread Clémence Varroi
Hi Jonathan, Thanks for your quick answer. You are right, I see the haproxy server's IP in my nginx's logs and... In my varnishnca.log too. So it means the problem is my haproxy configuration..(?). To be sure, this is all the configuration, maybe should I play with an except for in some case