Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
01a2a5c4
Commit
01a2a5c4
authored
May 30, 2012
by
Tollef Fog Heen
Committed by
Martin Blix Grydeland
Oct 18, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
req.url, not req.http.url
parent
3a63dd0f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
purging.rst
doc/sphinx/tutorial/purging.rst
+1
-1
No files found.
doc/sphinx/tutorial/purging.rst
View file @
01a2a5c4
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment