Hi I’m new in HAproxy,
I want to load balance my server 192.168.1.2/myweb & 192.168.1.3/myweb
my HAproxy IP is 192.168.1.1
this my configuration
backend myweb
option forwardfor
balance roundrobin
mode http
server ubuntu1 192.168.1.2:8890
server ubuntu2 192.168.1.3:8890
If possible i want HAproxy to forward my traffic to the real server, rather than browsing from HAproxy server.
for example like using: http-request redirect location http://192.168.1.2/myweb or http-request redirect prefix http:///myweb
any suggestion?