i am struggling with HAProxy setup. Everything works well except IP, which is still displayed as local on web server instead of public. I have tried enable "option forwardfor" doesn´t work.
My setup is like. Mikrotik router, where is public IP. I have forwarded all web traffic to HAProxy server 192.168.1.7 On LAN are two webservers 192.168.1.20 and 192.168.1.21 website are displayed correctly but wehn I check on webserver $_SERVER['REMOTE_ADDR'] I still getting Local IP of HAProxy (192.168.1.7).
Any ideas Thanks
Josef