Commit d0532eb3 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Fix backends and vhosts example

Submitted by:       nublaii via github
parent 212b652e
......@@ -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;
}
}
......
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