aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2012-09-18 00:40:55 -0300
committermarcelloc <marcellocoutinho@gmail.com>2012-09-18 00:40:55 -0300
commitd9da90aafffd420af84ac4dcf3fa4e779cb2faf3 (patch)
treedb41f71969b3b683312e366dfd8b3015f9b07ae1 /config
parentd643547c0bea3875d1fb9936d35bbea7ed6e3900 (diff)
downloadpfsense-packages-d9da90aafffd420af84ac4dcf3fa4e779cb2faf3.tar.gz
pfsense-packages-d9da90aafffd420af84ac4dcf3fa4e779cb2faf3.tar.bz2
pfsense-packages-d9da90aafffd420af84ac4dcf3fa4e779cb2faf3.zip
squid3 - fix a missing vhost config on https setup
Diffstat (limited to 'config')
-rw-r--r--config/squid-reverse/squid_reverse.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/squid-reverse/squid_reverse.inc b/config/squid-reverse/squid_reverse.inc
index 6c34b4cb..21b6c668 100644
--- a/config/squid-reverse/squid_reverse.inc
+++ b/config/squid-reverse/squid_reverse.inc
@@ -79,7 +79,7 @@ function squid_resync_reverse() {
$conf .= "http_port {$real_ifaces[$i][0]}:{$http_port} accel defaultsite={$http_defsite} vhost\n";
//HTTPS
if (!empty($settings['reverse_https']))
- $conf .= "https_port {$real_ifaces[$i][0]}:{$https_port} accel cert={$reverse_crt} key={$reverse_key} defaultsite={$https_defsite}\n";
+ $conf .= "https_port {$real_ifaces[$i][0]}:{$https_port} accel cert={$reverse_crt} key={$reverse_key} defaultsite={$https_defsite} vhost\n";
}
}
@@ -91,7 +91,7 @@ function squid_resync_reverse() {
$conf .= "http_port {$reip}:{$http_port} accel defaultsite={$http_defsite} vhost\n";
//HTTPS
if (!empty($settings['reverse_https']))
- $conf .= "https_port {$reip}:{$https_port} accel cert={$reverse_crt} key={$reverse_key} defaultsite={$https_defsite}\n";
+ $conf .= "https_port {$reip}:{$https_port} accel cert={$reverse_crt} key={$reverse_key} defaultsite={$https_defsite} vhost\n";
}
}