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
This archive was generated by hypermail 2.2.0 : Tue Jul 01 2008 - 12:00:05 MDT