Haproxy + Varnish + Nginx = real IP problem

If you running Haproxy and your are trying to get the correct REMOTE_ADDR

We had to switch our load balancing from TCP to HTTP

In order to support the xforward header.

Along with nginx real ip module


The xforward on earlier haproxies does not support tcp or keepalived.

it only work under http. this has changed on latest haproxy like the
beta version 1.53


One Reply to “Haproxy + Varnish + Nginx = real IP problem”

  1. Pingback: Joseph

Leave a Reply