r1429 - trunk/varnish-cache/debian

ssm at projects.linpro.no ssm at projects.linpro.no
Wed May 16 12:54:38 CEST 2007


Author: ssm
Date: 2007-05-16 12:54:38 +0200 (Wed, 16 May 2007)
New Revision: 1429

Removed:
   trunk/varnish-cache/debian/vcl.conf
Log:
Ship with etc/default.vcl instead, no need for a separate configuration file

Deleted: trunk/varnish-cache/debian/vcl.conf
===================================================================
--- trunk/varnish-cache/debian/vcl.conf	2007-05-16 10:53:30 UTC (rev 1428)
+++ trunk/varnish-cache/debian/vcl.conf	2007-05-16 10:54:38 UTC (rev 1429)
@@ -1,27 +0,0 @@
-# This is a basic vcl.conf file for varnish.
-# Modifying this file should be where you store your modifications to
-# varnish. Settnigs here will override defaults.
-
-backend default {
-        set backend.host = "127.0.0.1";
-        set backend.port = "80";       
-}
-
-sub vcl_recv {
-        if (req.request == "POST") {
-                pipe;
-        }
-
-        # force lookup even when cookies are present
-        if (req.request == "GET" && req.http.cookie) {
-                lookup;
-        }
-}
-
-sub vcl_fetch {
-        # force minimum ttl of 180 seconds
-        if (obj.ttl < 180s) {
-                set obj.ttl = 180s;
-        }
-}
-




More information about the varnish-commit mailing list