Re: [squid-users] port / origin mapping

From: Henrik Nordstrom <[email protected]>
Date: Tue, 31 Jul 2007 13:19:30 +0200

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

Received on Tue Jul 31 2007 - 05:19:41 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:04 MDT