diff options
author | Marcello Coutinho <marcellocoutinho@gmail.com> | 2014-04-01 14:23:58 -0300 |
---|---|---|
committer | Marcello Coutinho <marcellocoutinho@gmail.com> | 2014-04-01 14:23:58 -0300 |
commit | 58d8dd6d9b72e78ee163fd09945c252624d0496d (patch) | |
tree | 511aa3eb4ebc1add4a89ebb0f70fa7b99ee09de6 /config/squid3 | |
parent | 2f31f576be42c65f54c7406ac1ab8316bd2e3713 (diff) | |
parent | 1bcfd292007add79cb79057cbf8b9ec1414663b1 (diff) | |
download | pfsense-packages-58d8dd6d9b72e78ee163fd09945c252624d0496d.tar.gz pfsense-packages-58d8dd6d9b72e78ee163fd09945c252624d0496d.tar.bz2 pfsense-packages-58d8dd6d9b72e78ee163fd09945c252624d0496d.zip |
Merge pull request #634 from darkain/patch-3
Enable reverse proxy load balancing
Diffstat (limited to 'config/squid3')
-rwxr-xr-x | config/squid3/33/squid_reverse.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/squid3/33/squid_reverse.inc b/config/squid3/33/squid_reverse.inc index c4061ba4..08c7b388 100755 --- a/config/squid3/33/squid_reverse.inc +++ b/config/squid3/33/squid_reverse.inc @@ -110,7 +110,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 "; + $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"; |