[Varnish] #867: typo in vcl tutorial
Varnish
varnish-bugs at varnish-cache.org
Tue Mar 8 07:02:26 CET 2011
#867: typo in vcl tutorial
----------------------+-----------------------------------------------------
Reporter: askalski | Type: documentation
Status: new | Priority: normal
Milestone: | Component: documentation
Version: 2.1.5 | Severity: trivial
Keywords: |
----------------------+-----------------------------------------------------
Example 2 in the VCL tutorial gives a syntax error on "set beresp.ttl =
3600;" (It's looking for "... 3600s;")
{{{
diff --git a/doc/sphinx/tutorial/vcl.rst b/doc/sphinx/tutorial/vcl.rst
index 7e5d4aa..ccf43d2 100644
--- a/doc/sphinx/tutorial/vcl.rst
+++ b/doc/sphinx/tutorial/vcl.rst
@@ -154,7 +154,7 @@ matches certain criteria:::
sub vcl_fetch {
if (req.url ~ "\.(png|gif|jpg)$") {
unset beresp.http.set-cookie;
- set beresp.ttl = 3600;
+ set beresp.ttl = 1h;
}
}
}}}
--
Ticket URL: <http://www.varnish-cache.org/trac/ticket/867>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list