<div dir="ltr">Hi <div>I have been using squid as a reverse proxy </div><div><div><br></div><div><br></div><div>http_port 80 accel defaultsite=202.53.13.20 vhost</div><div>cache_peer 172.20.36.162 parent 80 0 proxy-only no-query no-digest originserver name=server1</div><div>cache_peer 172.20.36.41 parent 80 0 proxy-only no-query no-digest originserver name=server2</div><div><br></div><div>acl sites_server1 dstdomain 172.20.36.162</div><div>acl sites_server2 dstdomain 172.20.36.41</div><div><br></div><div><br></div><div>cache_peer_access server1 allow sites_server1</div><div>cache_peer_access server2 allow sites_server2</div><div><br></div><div>#cache_peer 172.20.36.41 parent 80 0 proxy-only name=telescope</div><div>#cache_peer 172.20.36.41 parent 80 0 proxy-only name=portal </div><div>http_access allow sites_server1</div><div>http_access allow sites_server2</div><div><br></div><div>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 ?</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>-- <br><div class="gmail_signature">Regards<div>Deepa Ganu</div><div>R&D Head(CSE) KMIT </div><div>Ph no : 9908036660</div><div><br></div></div>
</div></div>