Re: How to turn on/off maintenance page in a smart way?

2013-04-08 Thread Unai Rodriguez
Yes, it did solve the issue, THANK YOU!! :) --- unai On 2013-04-08 00:39, Baptiste wrote: Hi, I'm glad I was able to help you. If it solved your issue, please answer back with the ML in Cc. so google will archive it and everybody can use this tip as well. Baptiste. On Mon, Apr 8, 2013 at 7:

Re: How to turn on/off maintenance page in a smart way?

2013-04-04 Thread Willy Tarreau
On Tue, Apr 02, 2013 at 08:55:13AM +0200, Baptiste wrote: > Hi, > > You can either use the disable-on-404 health checking option or using > HAProxy socket to disable servers temporarly (I mean temporarly because the > UNIX socket applies changes in running HAProxy process, not in its startup > con

Re: How to turn on/off maintenance page in a smart way?

2013-04-01 Thread Baptiste
Hi, You can either use the disable-on-404 health checking option or using HAProxy socket to disable servers temporarly (I mean temporarly because the UNIX socket applies changes in running HAProxy process, not in its startup configuration file). You could then have a few simple acl matching the nu

How to turn on/off maintenance page in a smart way?

2013-04-01 Thread Unai Rodriguez
Dear List, We have a number of applications behind HAProxy. Sometimes we need to put one of the applications in maintenance mode (i.e. display a "This page is under maintenance banner"). We achieve that with the following rules: acl is_app1 hdr(host) app1.example.com acl is_app2 hdr(host) ap