Search squid archive

Re: port / origin mapping

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

 



On mån, 2007-07-30 at 17:45 -0700, Frank Ruiz wrote:

> I want to have each port point to a different origin host:
> 
> http_port 80 defaultsite=somesite.site.com -> cache_peer 10.1.1.1
> parent 80 0 no-query originserver
> http_port 81 defaultsite=somesite.site.com -> cache_peer 10.1.1.2
> parent 80 0 no-query originserver
> http_port 82 defaultsite=somesite.site.com -> cache_peer 10.1.1.3
> parent 80 0 no-query originserver
> 
> Can someone please explain what the process is for setting this up or
> if this is possible?

You use cache_peer_access to control which requests is sent to which
peer. You need to limit each peer to only the requests which should be
sent there (by default any requests may be sent to a peer).

http://wiki.squid-cache.org/SquidFaq/ReverseProxy#head-7bd155a1a9919bda8ff10ca7d3831458866b72eb

Regards
Henrik

Attachment: signature.asc
Description: This is a digitally signed message part


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

  Powered by Linux