aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Fuchs <martin.fuchs@trendchiller.com>2012-03-16 08:56:11 +0100
committerMartin Fuchs <martin.fuchs@trendchiller.com>2012-03-16 08:56:11 +0100
commit9fb96888cf7a1237900fdcc7b4d2b058654ddbfb (patch)
tree3858897605b71d4340cf28882a2db7f03b6b5700
parent58b843ead972b5b660cbb0ed2a2ca468141616f0 (diff)
downloadpfsense-packages-9fb96888cf7a1237900fdcc7b4d2b058654ddbfb.tar.gz
pfsense-packages-9fb96888cf7a1237900fdcc7b4d2b058654ddbfb.tar.bz2
pfsense-packages-9fb96888cf7a1237900fdcc7b4d2b058654ddbfb.zip
+basic auth
-rw-r--r--config/squid-reverse/squid.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/squid-reverse/squid.inc b/config/squid-reverse/squid.inc
index 151f710c..0358ce7c 100644
--- a/config/squid-reverse/squid.inc
+++ b/config/squid-reverse/squid.inc
@@ -1063,7 +1063,7 @@ function squid_resync_reverse() {
foreach ($defs as $def) {
$cfg = explode(";",($def));
if (($cfg[0]) != '' && ($cfg[1]) != '' && ($cfg[2]) != ''){
- $conf .= "cache_peer {$cfg[1]} parent {$cfg[2]} 0 proxy-only no-query originserver ";
+ $conf .= "cache_peer {$cfg[1]} parent {$cfg[2]} 0 proxy-only no-query login=PASS originserver ";
if($cfg[3] == 'HTTPS')
$conf .= "login=PASS ssl sslflags=DONT_VERIFY_PEER front-end-https=auto ";
$conf .= "name={$cfg[0]}\n";