Re: [squid-users] Use parent proxy for some domains only

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Fri, 30 Dec 2011 23:54:44 +0100

sön 2011-12-25 klockan 17:07 +0200 skrev Eliezer Croitoru:

> acl proxy1 dstdomain secondproxy.com specialdomain1.com specialdomain2.com
> always_direct deny proxy1
> always_direct allow all
> never_direct allow proxy1

Or clearer and easier to extend on:

cache_peer_access secondproxy.com allow proxy1
never_direct allow proxy1

where cache_peer_access replaces cache_peer_domain.

You don't need to fiddle with always_direct here, never_direct allow
have higher priority than always_direct.

Note: If you have other cache_peer lines then remember to deny proxy1
from those.

Regards
Henrik
Received on Fri Dec 30 2011 - 22:54:48 MST

This archive was generated by hypermail 2.2.0 : Sat Dec 31 2011 - 12:00:02 MST