Re: [squid-users] cache_peer twice

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 18 Nov 2008 18:38:07 +1300

Lluis Ribes wrote:
> Hi,
>
>
> I have a server with a Squid 3.0 and another one with an Apache Cluster. I m
> using the squid as reverse Proxy and my apache Cluster has an IP that change
> sometimes ( it's an experimental project) . So, my question is if could I
> configure SQUID to support the two IP using two cache_peer parameter on way
> to use the Cluster IP that it s up in each moment.
>
>
> By example, can I have this configuration:
>
> cache_peer 10.199.1.9 parent 80 0 no-query originserver
>
> cache_peer 10.199.1.8 parent 80 0 no-query originserver
>
>
> Where 10.199.1.9 or 10.199.1.8 is an UP IP from my cluster server??
>
>

Yes. Exactly that way.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
   Current Beta Squid 3.1.0.2
Received on Tue Nov 18 2008 - 05:38:10 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 18 2008 - 12:00:03 MST