Search squid archive

load balancer as squid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux