Commit 49fc3653 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Fix example

backslash is used for escaping in varnish-cli, so escape the backslash
to actually pass "\.png$".
parent 82b29b11
......@@ -73,7 +73,7 @@ Support for bans is built into Varnish and available in the CLI
interface. To ban every png object belonging on example.com, issue
the following command::
ban req.http.host == "example.com" && req.url ~ "\.png$"
ban req.http.host == "example.com" && req.url ~ "\\.png$"
Quite powerful, really.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment