Re: [squid-users] cache_peer question

From: Brendan Kearney <bpk678_at_gmail.com>
Date: Tue, 05 Nov 2013 09:43:14 -0500

On Tue, 2013-11-05 at 08:31 -0500, Monah Baki wrote:
> I came across this where it forward all requests to another proxy
>
> cache_peer parentcache.foo.com parent 3128 0 no-query default
> never_direct allow all
>
>
> How can I deny all requests to use the parent proxy except for a
> specific domain.
> Everything else use the child.
>
> Thanks
> Monah

I use:

cache_peer peer.domain.tld sibling 3128 4827 htcp=no-clr
cache_peer 127.0.0.1 parent 8080 7 no-query no-digest
login=PASSTHRU
...
always_direct allow ThisACL
always_direct deny all
...
never_direct deny ThisACL
never_direct allow all

always_direct will push the request without it going to the parent.
never_direct will force the request to go to the parent.
Received on Tue Nov 05 2013 - 14:43:25 MST

This archive was generated by hypermail 2.2.0 : Wed Nov 06 2013 - 12:00:08 MST