> I just had a weird problem on a similar subject, all my backend came
> to fail due to a database problem and so haproxy's frontend went up and
> However i was expecting it to reply with my local custom 503 http page:
> errorloc 500 /etc/haproxy/my-errors/500.http
> errorloc 502 /etc/haproxy/my-errors/502.http
> errorloc 503 /etc/haproxy/my-errors/503.http
> errorloc 504 /etc/haproxy/my-errors/504.http
> But instead i got some GET on the backends with the
> /etc/haproxy/my-errors/503.http uri:
> xxx.xxx.xx.xx - - [23/Sep/2008:03:36:35 +0200] "GET
> /etc/haproxy/my-errors/503.http HTTP/1.1" 404 345 "-"
you used the wrong option. errorloc asks to return a 302 with the URL indicated on the line in case of error. What you want is "errorfile".
Willy Received on 2008/09/23 19:55
This archive was generated by hypermail 2.2.0 : 2008/09/23 20:01 CEST