Error / Under Maintenance notice page?

2009-02-24 Thread Sun Yijiang
Hi all, When all back-end servers are down or in maintenance mode, is it possible for HAProxy to return a webpage (saying Sorry, we are in maintenance mode, please be back in 30 minutes, etc.) for all requests? Steve

Re: Error / Under Maintenance notice page?

2009-02-24 Thread FinalBSD
Hi, Maybe you can specify a backup server as a backend server use the backup keyword. Regards! 2009/2/24 Sun Yijiang sunyiji...@gmail.com Hi all, When all back-end servers are down or in maintenance mode, is it possible for HAProxy to return a webpage (saying Sorry, we are in

RE: Error / Under Maintenance notice page?

2009-02-24 Thread John Marrett
You could also considering using the errorloc directive, a 503 response will be emitted when there is no backed server available to service the request. There's a table of response codes, and what circumstances they are generated under, in the configuration.txt. Search for Haproxy may emit the

Re: protection against DDoS attacks

2009-02-24 Thread Willy Tarreau
On Tue, Feb 24, 2009 at 07:43:53PM +0300, Ahmad Al-Ibrahim wrote: Hi, I'm using HAProxy in the frontend as a reverse proxy to backend servers, I'm thinking of possible ways to protect backend servers from being attacked. How effective is doing url redirect to protect against these

Re: Tw timeout server, but no retries happened? sQ 503 NOSRV error in logs

2009-02-24 Thread Willy Tarreau
On Mon, Feb 23, 2009 at 12:12:43PM -0800, Michael Fortson wrote: Feb 23 18:50:22 www haproxy[15344]: 11.1.11.1:45025 [23/Feb/2009:18:50:21.939] webservers fast_mongrels/NOSRV 0/101/-1/-1/101 503 212 - - sQ-- 322/309/9/0/0 0/1 GET /blahblah/update/57f6c2408f HTTP/1.1 sQ The session spent