aboutsummaryrefslogtreecommitdiffstats
path: root/config/varnish64
diff options
context:
space:
mode:
Diffstat (limited to 'config/varnish64')
-rw-r--r--config/varnish64/varnish.inc3
-rw-r--r--config/varnish64/varnish_backends.xml6
-rw-r--r--config/varnish64/varnish_settings.xml2
3 files changed, 6 insertions, 5 deletions
diff --git a/config/varnish64/varnish.inc b/config/varnish64/varnish.inc
index d69d6abd..1a1cd0a3 100644
--- a/config/varnish64/varnish.inc
+++ b/config/varnish64/varnish.inc
@@ -113,7 +113,8 @@ EOF;
$urlmappings .= "else ";
$urlmappings = <<<EOAU
if (req.http.host == "{$urlmapping['url']}") {
- set req.backend = {$urlmapping['backend']};
+ set req.backend = "{$urlmapping['backend']}";
+ set req.http.host = "{$urlmapping['url']}";
}
EOAU;
$isfirst = false;
diff --git a/config/varnish64/varnish_backends.xml b/config/varnish64/varnish_backends.xml
index 067d6aa5..f8ba9953 100644
--- a/config/varnish64/varnish_backends.xml
+++ b/config/varnish64/varnish_backends.xml
@@ -46,17 +46,17 @@
<additional_files_needed>
<prefix>/usr/local/pkg/</prefix>
<chmod>0755</chmod>
- <item>http://www.pfsense.com/packages/config/varnish/varnish_settings.xml</item>
+ <item>http://www.pfsense.com/packages/config/varnish64/varnish_settings.xml</item>
</additional_files_needed>
<additional_files_needed>
<prefix>/usr/local/pkg/</prefix>
<chmod>0755</chmod>
- <item>http://www.pfsense.com/packages/config/varnish/varnish_custom_vcl.xml</item>
+ <item>http://www.pfsense.com/packages/config/varnish64/varnish_custom_vcl.xml</item>
</additional_files_needed>
<additional_files_needed>
<prefix>/usr/local/pkg/</prefix>
<chmod>0755</chmod>
- <item>http://www.pfsense.com/packages/config/varnish/varnish.inc</item>
+ <item>http://www.pfsense.com/packages/config/varnish64/varnish.inc</item>
</additional_files_needed>
<menu>
<name>Varnish </name>
diff --git a/config/varnish64/varnish_settings.xml b/config/varnish64/varnish_settings.xml
index 823deb6e..2d7e6ea8 100644
--- a/config/varnish64/varnish_settings.xml
+++ b/config/varnish64/varnish_settings.xml
@@ -64,7 +64,7 @@
<field>
<fielddescr>Storage type</fielddescr>
<fieldname>storagetype</fieldname>
- <description>The SMTP version banner that is reported upon initial connection.</description>
+ <description>Select which storage type you would like to use.</description>
<type>select</type>
<options>
<option><name>Memory</name><value>malloc</value></option>