aboutsummaryrefslogtreecommitdiffstats
path: root/config/varnish64/varnish.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-04-27 14:10:59 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-04-27 14:10:59 -0400
commit608f366a844c26d0cb9d0c8e4a258ba816c9d107 (patch)
treefdf75085ac11fb797418b54fa46c2a7b55fc7a6d /config/varnish64/varnish.inc
parent7ca4dcd8af8902da674135860d5ae9345be8391e (diff)
downloadpfsense-packages-608f366a844c26d0cb9d0c8e4a258ba816c9d107.tar.gz
pfsense-packages-608f366a844c26d0cb9d0c8e4a258ba816c9d107.tar.bz2
pfsense-packages-608f366a844c26d0cb9d0c8e4a258ba816c9d107.zip
Fix URL to xml file
Diffstat (limited to 'config/varnish64/varnish.inc')
-rw-r--r--config/varnish64/varnish.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/config/varnish64/varnish.inc b/config/varnish64/varnish.inc
index 026f602c..9673be4f 100644
--- a/config/varnish64/varnish.inc
+++ b/config/varnish64/varnish.inc
@@ -152,7 +152,6 @@ EOAU;
$first_byte_timeout = $backend['first_byte_timeout'] . "s";
else
$first_byte_timeout = "300s";
-
if($backend['probe_url'])
$probe_url = $backend['probe_url'];
else
@@ -173,7 +172,6 @@ EOAU;
$probe_threshold = $backend['probe_threshold'];
else
$probe_threshold = "5";
-
$backends .= <<<EOFA
backend {$backend['backendname']} {
.host = "{$backend['ipaddress']}";
@@ -199,7 +197,7 @@ EOFA;
if($backend['row'])
foreach($backend['row'] as $be) {
if($be['weight'])
- $weight = "\n\t\t\t.weight = {$be['weight']};\n"
+ $weight = "\t\t\t.weight = {$be['weight']};\n"
else
$weight = "";
$director .= "\t{\n\t\t.backend = {$be['backendname']};\n{$weight}\t}";