Search squid archive

Re: Problem with Squid 2.6 as reverse proxy

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

 



But a lot (more than one houndred) vhosts will point to this squid and
not everyone point to the same server, how do I specify which domain
goes to which origin? Do I have to set it one by one by hand? :-/

Cheers!
Santiago

On 6/6/07, Guillaume Smet <guillaume.smet@xxxxxxxxx> wrote:
On 6/6/07, Santiago Del Castillo <santiago.del.castillo@xxxxxxxxx> wrote:
> Becasue i'm  not setting as sibling right now. First i want to make it
> work as virtual host reverse proxy. Once working i'll set it as
> sibling squid.

You have to set a parent cache_peer anyway. Squid 2.6 is a bit
different than 2.5 for that.

So define a parent cache peer and add sibling when you want it.

For example, I have something like:
cache_peer X.X.X.X parent 80 0 no-query no-digest no-netdb-exchange
no-delay originserver
which is my Apache server
then I have:
cache_peer X.X.X.X sibling 8080 3130 no-digest no-netdb-exchange no-delay
for the sibling reverse proxy.

HTH.

--
Guillaume


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

  Powered by Linux