Re: Error / Under Maintenance notice page?

From: Willy Tarreau <w#1wt.eu>
Date: Wed, 25 Feb 2009 07:31:01 +0100


On Tue, Feb 24, 2009 at 02:15:57PM -0500, John Marrett wrote:
> 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 following status codes by itself".

Or even the "errorfile" if the response is short, and that way haproxy will be the server by itself.

Willy Received on 2009/02/25 07:31

This archive was generated by hypermail 2.2.0 : 2009/02/25 08:45 CET