Search squid archive

Re: Reverse Proxy Question

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

 



From: "Jones, Keven" <Keven.Jones@xxxxxxx>
> 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


      


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

  Powered by Linux