aboutsummaryrefslogtreecommitdiffstats
path: root/config/varnish64/varnish.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-04-26 22:50:41 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-04-26 22:50:41 -0400
commitff358a33dcb62c54f05681c34af01b7e9696050d (patch)
treee217b805090eb797d0fc0f300239ab063649a464 /config/varnish64/varnish.inc
parente9dac8d5a4f10e8205830a6c6ac673d2881f9b3e (diff)
downloadpfsense-packages-ff358a33dcb62c54f05681c34af01b7e9696050d.tar.gz
pfsense-packages-ff358a33dcb62c54f05681c34af01b7e9696050d.tar.bz2
pfsense-packages-ff358a33dcb62c54f05681c34af01b7e9696050d.zip
Update filename urls
Diffstat (limited to 'config/varnish64/varnish.inc')
-rw-r--r--config/varnish64/varnish.inc3
1 files changed, 2 insertions, 1 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;