In message <[email protected]>, Cedric Jean
neret writes:

> I'm trying to ban some content matching the configured req.backend,
> but it seems it's not working as expected:

It is not supported, and probably doesn't work as well as you
expect it to.

Set the backend name into a HTTP header on the object,
and ban on that instead.

If you don't want the clients to see that header, remove it in
vcl_deliver{}


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[email protected]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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

Reply via email to