From db7275bce0b8d4d5044058ee8b5b413d677690ef Mon Sep 17 00:00:00 2001 From: ssm Date: Wed, 16 May 2007 10:54:38 +0000 Subject: [PATCH] Ship with etc/default.vcl instead, no need for a separate configuration file git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1429 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/debian/vcl.conf | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 varnish-cache/debian/vcl.conf diff --git a/varnish-cache/debian/vcl.conf b/varnish-cache/debian/vcl.conf deleted file mode 100644 index 495f1763..00000000 --- a/varnish-cache/debian/vcl.conf +++ /dev/null @@ -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; - } -} - -- 2.39.5