[squid-users] load balancer as squid
deepa ganu
deepaganu at gmail.com
Sat May 7 01:33:54 UTC 2016
Hi
I have been using squid as a reverse proxy
http_port 80 accel defaultsite=202.53.13.20 vhost
cache_peer 172.20.36.162 parent 80 0 proxy-only no-query no-digest
originserver name=server1
cache_peer 172.20.36.41 parent 80 0 proxy-only no-query no-digest
originserver name=server2
acl sites_server1 dstdomain 172.20.36.162
acl sites_server2 dstdomain 172.20.36.41
cache_peer_access server1 allow sites_server1
cache_peer_access server2 allow sites_server2
#cache_peer 172.20.36.41 parent 80 0 proxy-only name=telescope
#cache_peer 172.20.36.41 parent 80 0 proxy-only name=portal
http_access allow sites_server1
http_access allow sites_server2
Please let me know if this is correct, also how can I use it as a load
balancer , if my one more server is at 172.20.36.42 ?
--
Regards
Deepa Ganu
R&D Head(CSE) KMIT
Ph no : 9908036660
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160507/feb5d413/attachment-0001.html>
More information about the squid-users
mailing list