HAProxy community

HA Proxy URL Redirect hide



We have installed and configured an HA Proxy as Loadbalancer And Redirect

When calling a url should the Redirect

test.de ACL and REDIRECT

acl test_host hdr(host) -i www.test.de
acl cdh_url path -i /cdh
redirect location http://www.test.de:8080/test code 302 if test_host cdh_url

Remain hidden and only the requested URL is displayed in the browser

Has anybody here maybe a tip

Thanks and greetings Andy


So its not a redirect, but a rewrite.

Use the http-request directive: