Daniel Bentley wrote:
[...]
Another note on behavior, when a machine within our organization visits
the site for the first time, it is almost guaranteed to report the
X-Forwarded information correctly. Once the client starts browsing
within the site from there, the X-Forwarded-For information disappears.
haproxy.cfg:
defaults
log global
mode http
option httplog
option dontlognull
add "option httpclose" here or disable keepalive in your apache2
configuration
http://haproxy.1wt.eu/download/1.3/doc/configuration.txt
read part 1.1 : The HTTP transaction model