I am using Haproxy for load balancing.
My website run on ruby on rails.
I have done some googling and come to know to add this line
option forwardfor header X-Client
in /etc/haproxy.cfg file.
In my rails application I'm using
request.env["HTTP_X_FORWARDED_FOR"]
but this give me my master application ip
Help me to get client ip address.