Welcome! Log In Create A New Profile


Re: Help me please

Posted by Jean-Baptiste Quenot 
Jean-Baptiste Quenot
Re: Help me please
September 03, 2009 10:50AM
2009/8/27 Vadim Bazilevich <[email protected]>:

> Hi friends! I used haproxy in my project. But I have one problem. What I can
> switch between two backends servers (me need used rule url_sub) if I used
> haproxy as frontend

Define two backends, backend10000 and backend10001 and one frontend.

In the frontend section do something like this:

use_backend backend10001 if url_sub sms

And of course you have to define the two ACLs url_sub and sms, which
do not appear in your config.
Jean-Baptiste Quenot
Sorry, only registered users may post in this forum.

Click here to login