you might also want to look at having varnish prepend the haproxy IP to the X-Forwarded-For line, rather than just pass it along - Most proxies seem to comma delimit a list of IPs of all the devices the request has passed through.

On 6/5/12 9:46 PM, hapr...@serverphorums.com wrote:
Thanks David, your suggestion helped move me closer to solution, just have to 
confirm whether it's working completely as some visitors still show haproxy ip 
within the app itself on backend, but not sure if that is a cached value by the 
app.

Sebastien, yeah normally that would be what I'd do, just haproxy is a managed 
service so I have no direct control over it only from varnish downwards.

---
posted at http://www.serverphorums.com
http://www.serverphorums.com/read.php?10,508289,508298#msg-508298


Reply via email to