From: ssm Date: Wed, 16 May 2007 10:54:38 +0000 (+0000) Subject: Ship with etc/default.vcl instead, no need for a separate configuration file X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db7275bce0b8d4d5044058ee8b5b413d677690ef;p=varnish 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 --- 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; - } -} -