@chmod1986 wrote:
Due to business needs we need to reroute the incoming requests from “rpi.flipcart.net” to “txg.fipcart.net”. I have configured the haproxy as
"frontend http
bind *:80
bind *:443 ssl crt /etc/haproxy/certs/wildcard.pem
option http-server-close
option http-keep-alive
mode http
acl rpi hdr(host) -i rpi.flipcart.net
use_backend rpihttp1 if rpibackend rpihttp1
balance roundrobin
server prod-webrpi1 10.XXX.XXX.XX:80 check inter 30s
server prod-webrpi2 10.XXX.XXX.XX:80 check inter 30s"Application on web servers installed to server “txg.fipcart.net”. Not sure at how and what level (fronend/backend) reroute need to be implemented.
Posts: 7
Participants: 2