From 711076df184128e242c7d4f8c38e09a8fd40486d Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 27 Apr 2010 13:15:55 -0400 Subject: Varnish is now starting OK --- config/varnish64/varnish.inc | 49 ++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 25 deletions(-) (limited to 'config') diff --git a/config/varnish64/varnish.inc b/config/varnish64/varnish.inc index 70425409..1ec000e7 100644 --- a/config/varnish64/varnish.inc +++ b/config/varnish64/varnish.inc @@ -99,29 +99,12 @@ synthetic {" "}; -deliver; +return(deliver); EOF; $backends = ""; $urlmappings = ""; - - if($config['installedpackages']['varnishlbdirectors']['config'] != "") { - foreach($config['installedpackages']['varnishlbdirectors']['config'] as $backend) { - $director = ""; - if($backend['row']) - foreach($backend['row'] as $be) - $director .= "\t{\n\t\t.backend = {$be['backendname']};\n\t}"; - $backends .= <<