haproxy backend default location
Posted
by
magd1
on Server Fault
See other posts from Server Fault
or by magd1
Published on 2012-03-30T23:35:29Z
Indexed on
2012/03/31
11:33 UTC
Read the original article
Hit count: 202
If you go to www.company.com, I want it to redirect to /something/something on my server, but the URL still shows www.company.com Is this possible in haproxy?
backend new_marketing_server
*** set default URL to /something/something***
mode http
balance roundrobin
timeout server 10m
option httpclose
server server1 10.86.151.142:80 minconn 32000 maxconn 3200 check port 80 inter 2000
server server2 10.122.13.189:80 minconn 32000 maxconn 3200 check port 80 inter 2000
© Server Fault or respective owner