How can I get HAProxy backends to include a path

Posted by Michael Neale on Server Fault See other posts from Server Fault or by Michael Neale
Published on 2010-03-25T10:51:56Z Indexed on 2010/03/25 10:53 UTC
Read the original article Hit count: 461

Filed under:
|

When using HAProxy for virtual hosting, I can see how to use the Host from the header at the front end to decide what backend to route to. However, is it possible to make the back end be a URL which includes a path (not unlike what you would do with apache or nginx when setting up virtual hosting).

http://www.techrawr.com/tag/haproxy/ - shows most of it. But what if the back ends were on the one server but with backend1 and backend2 as the servers?

© Server Fault or respective owner

Related posts about haproxy

Related posts about webserver