Re: [squid-users] multi original servers

From: Ben Hollingsworth <ben.hollingsworth_at_bryanlgh.org>
Date: Mon, 09 Jun 2008 11:33:42 -0500

Ken W. wrote:
> Under squid's reverse proxy mode, if there are more than one original
> server, how to config it?
>
> cache_peer InsideIP1 parent 80 0 no-query originserver name=Myserver
> round-robin
> cache_peer InsideIP2 parent 80 0 no-query originserver name=Myserver
> round-robin
>
> Is the config above right? The two lines have the same values of
> 'name=' , is it right?
>

In my testing, I found that the names had to be slightly different. For
instance:

cache_peer INTERNALIP1 parent 80 0 no-query originserver login=PASS name=INTERNALNAME1-peer sourcehash
cache_peer INTERNALIP2 parent 80 0 no-query originserver login=PASS name=INTERNALNAME2-peer sourcehash

cache_peer_access INTERNALNAME1-peer allow sites_INTERNALNAME
cache_peer_access INTERNALNAME2-peer allow sites_INTERNALNAME

Received on Mon Jun 09 2008 - 16:33:54 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 01 2008 - 12:00:05 MDT