Possible to disable/inactivate a backend using VCL?
Dridi Boukelmoune
dridi at varni.sh
Wed Apr 19 16:25:38 UTC 2023
On Wed, Apr 19, 2023 at 3:45 PM Batanun B <batanun at hotmail.com> wrote:
>
> > backend theBackend none;
> > Here's the relevant documentation: https://varnish-cache.org/docs/trunk/users-guide/vcl-backends.html#the-none-backend
> > It was added in 6.4.
>
> Look like exactly what we need! Sadly we are "stuck" on 6.0 until the next LTS version comes. So I think that until then I will use our poor man version of the "none" backend, ie pointing to localhost with an port number that won't give a response.
It was back-ported to 6.0, which is not an LTS branch limited to bug fixes ;)
https://varnish-cache.org/docs/6.0/users-guide/vcl-backends.html
Dridi
More information about the varnish-misc
mailing list