aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3
diff options
context:
space:
mode:
authorMartin Fuchs <mfuchs77@gmail.com>2014-06-07 17:45:45 +0200
committerMartin Fuchs <mfuchs77@gmail.com>2014-06-07 17:45:45 +0200
commit23dcdaeb56f1b64aff37cf71eb26c0bc42e1dd42 (patch)
treec975ee4d966f2297d9a2430a49237a3f7b7435c1 /config/squid3
parent2768bbb36a730449c51654172c14ef87f9c2ea67 (diff)
downloadpfsense-packages-23dcdaeb56f1b64aff37cf71eb26c0bc42e1dd42.tar.gz
pfsense-packages-23dcdaeb56f1b64aff37cf71eb26c0bc42e1dd42.tar.bz2
pfsense-packages-23dcdaeb56f1b64aff37cf71eb26c0bc42e1dd42.zip
fix bungled config
see https://forum.pfsense.org/index.php?topic=73301.msg424937#msg424937
Diffstat (limited to 'config/squid3')
-rw-r--r--config/squid3/31/squid_reverse.inc2
-rwxr-xr-xconfig/squid3/33/squid_reverse.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/squid3/31/squid_reverse.inc b/config/squid3/31/squid_reverse.inc
index 92bef0fb..4ac7fe82 100644
--- a/config/squid3/31/squid_reverse.inc
+++ b/config/squid3/31/squid_reverse.inc
@@ -107,7 +107,7 @@ function squid_resync_reverse() {
foreach ($reverse_peers as $rp){
if ($rp['enable'] =="on" && $rp['name'] !="" && $rp['ip'] !="" && $rp['port'] !=""){
$conf_peer = "#{$rp['description']}\n";
- $conf_peer .= "cache_peer {$rp['ip']} parent {$rp['port']} 0 proxy-only no-query no-digest originserver login=PASS round-robin";
+ $conf_peer .= "cache_peer {$rp['ip']} parent {$rp['port']} 0 proxy-only no-query no-digest originserver login=PASS round-robin ";
if($rp['protocol'] == 'HTTPS')
$conf_peer .= "ssl sslflags=DONT_VERIFY_PEER front-end-https=auto ";
$conf_peer .= "name=rvp_{$rp['name']}\n\n";
diff --git a/config/squid3/33/squid_reverse.inc b/config/squid3/33/squid_reverse.inc
index eca216a1..669f47cd 100755
--- a/config/squid3/33/squid_reverse.inc
+++ b/config/squid3/33/squid_reverse.inc
@@ -107,7 +107,7 @@ function squid_resync_reverse() {
foreach ($reverse_peers as $rp){
if ($rp['enable'] =="on" && $rp['name'] !="" && $rp['ip'] !="" && $rp['port'] !=""){
$conf_peer = "#{$rp['description']}\n";
- $conf_peer .= "cache_peer {$rp['ip']} parent {$rp['port']} 0 proxy-only no-query no-digest originserver login=PASSTHRU round-robin";
+ $conf_peer .= "cache_peer {$rp['ip']} parent {$rp['port']} 0 proxy-only no-query no-digest originserver login=PASSTHRU round-robin ";
if($rp['protocol'] == 'HTTPS')
$conf_peer .= "ssl sslflags=DONT_VERIFY_PEER front-end-https=auto ";
$conf_peer .= "name=rvp_{$rp['name']}\n\n";