diff options
author | Vince <github@darkain.com> | 2014-03-31 16:42:01 -0700 |
---|---|---|
committer | Vince <github@darkain.com> | 2014-03-31 16:42:01 -0700 |
commit | 1bcfd292007add79cb79057cbf8b9ec1414663b1 (patch) | |
tree | 511aa3eb4ebc1add4a89ebb0f70fa7b99ee09de6 /config/squid3/33/squid_reverse.inc | |
parent | 2f31f576be42c65f54c7406ac1ab8316bd2e3713 (diff) | |
download | pfsense-packages-1bcfd292007add79cb79057cbf8b9ec1414663b1.tar.gz pfsense-packages-1bcfd292007add79cb79057cbf8b9ec1414663b1.tar.bz2 pfsense-packages-1bcfd292007add79cb79057cbf8b9ec1414663b1.zip |
Enable reverse proxy load balancing
Enable reverse proxy load balancing across multiple origin servers
Diffstat (limited to 'config/squid3/33/squid_reverse.inc')
-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"; |