>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?

Hi Rafal,


Check out the use cases for the vcl_error() routine, that can output a
synthetic{} response that contains flat HTML for a "maintenance" or status
page. When all backends fail, the vcl_error() routine will be used.

Regards,
Mattias


_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to