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
d0532eb3
Commit
d0532eb3
authored
Jul 08, 2014
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix backends and vhosts example
Submitted by: nublaii via github
parent
212b652e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vcl-backends.rst
doc/sphinx/users-guide/vcl-backends.rst
+1
-1
No files found.
doc/sphinx/users-guide/vcl-backends.rst
View file @
d0532eb3
...
...
@@ -100,7 +100,7 @@ this example this is intentional but you might want it to be a bit
more tight, maybe relying on the ``==`` operator in stead, like this:::
sub vcl_recv {
if (req.http.host == "foo.com"
or
req.http.host == "www.foo.com") {
if (req.http.host == "foo.com"
||
req.http.host == "www.foo.com") {
set req.backend_hint = foo;
}
}
...
...
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