varnish4 grace-period 500 error

Laurent Lavaud laurent.lavaud at ladtech.fr
Wed Nov 26 18:06:37 CET 2014


Hello,

I am using varnish 4.0.2 on a debian wheezy.

I use grace period and it works fine when the backend become non Healthy or unavailable.

But now i would like to serve stale content if my backend return a 500 error.

If i had only one vhost on the backend i could improve my probe check to detect the 500 error, but i have several vhosts and i can't probe all the vhost to see if it return a 200 code.

How i can achieve this ?


Regards.

--
Laurent Lavaud
Administrateur Systèmes et Réseaux



More information about the varnish-misc mailing list