Search squid archive

Re: always go through parent proxy when go to some domain?

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

 



it works! you are the genius! thank you!


On 9/27/07, Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote:
> > thanks for your quick reply but my target is:
> >
> > 1. when go to some domains e.g. *.google.com, go through a specific
> > cache_peer without direct connection(since there's an openvpn between
> > local squid to that remote cache_peer)
> > 2. other domains, direct connect or go through default cache_peer with
> > plain text transfering
> >
> > proxy-only makes my squid not cache in local and always fetch from
> > cache_peer but how does it manage to make it always go through
> > cache_peer when visiting *.google.com while others  just direct link?
> >
> > idea?
> >
>
> Try something like below;
> you will need to adapt for your domains and peer actual locations
>
>   acl requirePeer dstdomain .google.com
>   cache_peer peer.example.com parent 80 0 no-query no-netdb-exchange
> name=peer1
>   cache_peer_access peer1 requirePeer
>   never_direct allow requirePeer
>
> Amos
>
>

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

  Powered by Linux