Search squid archive

Re: cache_peer_domain wildcards?

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

 



Robin

You have to define the servers, url, domains, etc you're
going to accelerate in the configuration using a combination of
cache_peer + acl + cache_peer_access + never_direct
Ej : you have to accelerate www.example.com that resides on 10.1.1.1,
then your config should be like this

http_port 80 defaultsite= www.example.com vhost
cache_peer 10.1.1.1 parent 80 0 no-query originserver
acl accel_host dstdomain .example.com
cache_peer_access 10.1.1.1 allow accel_host

acl all src 0.0.0.0/0.0.0.0
never_direct deny all

Hope this helps

Regards, Pablo


Pablo,

Can you provide me with a sample configuration?

Or, perhaps even a link to documentation on the new 2.6 configuration
directives?

Thanks,

R.


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

  Powered by Linux