Search squid archive

Re: proxy.pac config

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

 



On Fri, May 11, 2007, SSCR Internet Admin wrote:
> Hi,
> 
>  
> 
> I wanted to ask if this is possible.  Ive just installed a second squid
> server and was wondering if I could create somewhat a loadbalancing without
> using TCP-loadbalancer or HA by using a proxy.pac that is capable of
> detecting a busy/failed server and connect to the next available proxy
> server.
> 
>  
> 
>                 Squid 1
> 
> Internet<----------+--------->Workstation(with proxy.pac)
> 
>                 Squid 2

There's plenty of examples of proxy.pac file based load balancing and failover.
Failover is easy, just give a number of entries in a list, ie:

return "proxy1:3128; proxy2:3128"

And to failover to direct, try:

return "proxy1:3128; proxy2:3128; DIRECT"

let me know if this doesn't work.



Adrian



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

  Powered by Linux