Re: [squid-users] Reverse Proxy Question

From: John Doe <jdmls_at_yahoo.com>
Date: Tue, 1 Sep 2009 02:15:05 -0700 (PDT)

From: "Jones, Keven" <Keven.Jones_at_ncr.com>
> Example.com -->server1 or server2
> Is this possible? If so anyone have the documentation on how to accomplish this.

Something like this should work I think (I use squid 2.7):

  http_port <IP>:<PORT> accel defaultsite=example.com act-as-origin vhost
  cache_peer <IP1> parent <PORT> 0 no-query originserver round-robin name=server1
  cache_peer <IP2> parent <PORT> 0 no-query originserver round-robin name=server2
  acl mydomain dstdomain example.com
  cache_peer_access server1 allow mydomain
  cache_peer_access server2 allow mydomain
  cache_peer_access server1 deny all
  cache_peer_access server2 deny all

JD

      
Received on Tue Sep 01 2009 - 09:15:15 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 01 2009 - 12:00:05 MDT