Tuesday, 1 October 2013

HAProxy - how to redirect to a specific URL

HAProxy - how to redirect to a specific URL

I have HAProxy running. I tried to setup a redirection.
Whenever my default website is accessed, for example http://example.com
then it should be redirected to http://example.com/special
How can I get this working with HAProxy?
I have three backend services
one TCP 85 one HTTP for an API Access 2200 one for an WEBUI under 8080
Only when the Webpage under http://example.com is accessed over Port 80, I
want to add the /special and redirect it then to one of the three backend
services.

No comments:

Post a Comment