Search squid archive

Re: Use parent proxy for some domains only

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

 



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



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

  Powered by Linux