Commit 01a2a5c4 authored by Tollef Fog Heen's avatar Tollef Fog Heen Committed by Martin Blix Grydeland

req.url, not req.http.url

parent 3a63dd0f
...@@ -88,7 +88,7 @@ Support for bans is built into Varnish and available in the CLI ...@@ -88,7 +88,7 @@ Support for bans is built into Varnish and available in the CLI
interface. To ban every png object belonging on example.com, issue interface. To ban every png object belonging on example.com, issue
the following command:: the following command::
ban req.http.host == "example.com" && req.http.url ~ "\.png$" ban req.http.host == "example.com" && req.url ~ "\.png$"
Quite powerful, really. 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