On Tue, Feb 26, 2013 at 2:52 AM, Hauke Bruno Wollentin <
[email protected]> wrote:

> Hi together,
>
> I have haproxy 1.4.22 running with 1 frontend and 1 backend. There are 2
> servers in that backend:
>
>    server prim [...] check port 80
>    server sec [...] check port 80 backup
>
> First one is a bigger internet connection than the second, because of that
> I
> only want to forward the packets to 'sec' if 'prim' fails.
>
> I am looking for some kind of configuration, that will deliver a local
> maintenance website if both 'prim' and 'sec' fails.
>
> Any ideas?
>
>
>
> Best regards,
> Hauke
>
>

Just add another backup server to your backend and it will only be used
when your "prim" and "sec" are both down.  It can serve content from
wherever you'd like including nginx serving up a static sorry page on
localhost ... or a sorry page from S3, etc.

-Bryan

Reply via email to