diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-04-27 14:10:59 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-04-27 14:10:59 -0400 |
commit | 608f366a844c26d0cb9d0c8e4a258ba816c9d107 (patch) | |
tree | fdf75085ac11fb797418b54fa46c2a7b55fc7a6d | |
parent | 7ca4dcd8af8902da674135860d5ae9345be8391e (diff) | |
download | pfsense-packages-608f366a844c26d0cb9d0c8e4a258ba816c9d107.tar.gz pfsense-packages-608f366a844c26d0cb9d0c8e4a258ba816c9d107.tar.bz2 pfsense-packages-608f366a844c26d0cb9d0c8e4a258ba816c9d107.zip |
Fix URL to xml file
-rw-r--r-- | config/varnish64/varnish.inc | 4 | ||||
-rwxr-xr-x | pkg_config.8.xml.amd64 | 2 |
2 files changed, 2 insertions, 4 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}"; diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index 868bef42..b00cf513 100755 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -12,7 +12,7 @@ <status>ALPHA</status> <required_version>2.0</required_version> <config_file>http://www.pfsense.com/packages/config/varnish/backend.xml</config_file> - <configurationfile>backend.xml</configurationfile> + <configurationfile>varnish_backends.xml</configurationfile> <depends_on_package_base_url>http://files.pfsense.org/packages/amd64/8/All/</depends_on_package_base_url> <depends_on_package>varnish-2.1.tbz</depends_on_package> <depends_on_package>gcc-4.2.5.20090325_3.tbz</depends_on_package> |