Commit 01ad19ef authored by Tollef Fog Heen's avatar Tollef Fog Heen

Fix typos in docs

Thanks to Chris Davies for spotting them.
parent a6d07c01
......@@ -97,12 +97,12 @@ You can also add bans to Varnish via HTTP. Doing so requires a bit of VCL::
if (!client.ip ~ purge) {
error 405 "Not allowed.";
}
ban("req.http.host == " req.http.host
"&& req.url == " req.url);
ban("req.http.host == " + req.http.host +
"&& req.url == " + req.url);
# Throw a synthetic page so the
# request won't go to the backend.
error 200 "Ban added"
error 200 "Ban added";
}
}
......
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