Varnish error page when all backends are gone?

Rafał Radecki radecki.rafal at
Wed Mar 20 15:23:56 CET 2013

Hi All.

I use varnish with two backends. I have custom error pages for
standard errors returned from backends. But when both my backends are
down I get:

Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection
without sending any data.

Is there a way to return a custom "error" page when all backends are
down? Or should I configure a local (on the same server as varnish)
instance od web server with a static page and use it in case of
problems? Hot to achieve that in VCL?

Best regards,
Rafal Radecki.

More information about the varnish-misc mailing list