[3.0] 9dc49ae Clean up examples a bit (#2)
Tollef Fog Heen
tfheen at varnish-cache.org
Mon Apr 16 10:20:36 CEST 2012
commit 9dc49ae031dcc6a63fa6e42928bc3db2d2c69b52
Author: Lasse Karstensen <lasse at varnish-software.com>
Date: Wed Nov 30 15:05:31 2011 +0100
Clean up examples a bit (#2)
diff --git a/doc/sphinx/tutorial/vary.rst b/doc/sphinx/tutorial/vary.rst
index a31e449..ad7b48d 100644
--- a/doc/sphinx/tutorial/vary.rst
+++ b/doc/sphinx/tutorial/vary.rst
@@ -23,7 +23,7 @@ And another one sends::
Varnish will keep two variants of the page requested due to the
different Accept-Encoding headers. Normalizing the accept-encoding
header will sure that you have as few variants as possible. The
-following VCL code will normalize the Accept-Encoding headers.::
+following VCL code will normalize the Accept-Encoding headers::
if (req.http.Accept-Encoding) {
if (req.url ~ "\.(jpg|png|gif|gz|tgz|bz2|tbz|mp3|ogg)$") {
@@ -34,7 +34,7 @@ following VCL code will normalize the Accept-Encoding headers.::
} elsif (req.http.Accept-Encoding ~ "deflate") {
set req.http.Accept-Encoding = "deflate";
} else {
- # unkown algorithm
+ # unknown algorithm
remove req.http.Accept-Encoding;
}
}
More information about the varnish-commit
mailing list