hello, when trying to ban a req.url from the CLI i get the following error,
any ideas?

ban req.http.host == "www.domain.com" && req.url ~ "\.png"
100 85
Unknown request.
Type 'help' for more info.
Syntax Error: Invalid backslash sequence

Removing backslash

ban req.http.host == "www.domain.com && req.url ~ ".png"
106 25
Wrong number of arguments

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

Reply via email to