How to rewrite and redirect with HAProxy · From An Egg
fromanegg.com › post › 2014/12/05Dec 05, 2014 · HAProxy however doesn’t have a single rule for rewrite and redirect instead we have to combine reqrep, to rewrite the url, and redirect, to handle the actual redirection. Assume the following front and backend configurations: frontend haproxy-0-80 bind 0.0.0.0:80 default_backend haproxy_service backend haproxy_service balance leastconn cookie ...