Search squid archive

Re: Ignore "pragma:no-cache /cache-control:no-cache" header in HTTP request< config help>

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

 



On 28/02/2016 8:18 p.m., Anonymous cross wrote:
> Sorry for nagging.  We want to use both tproxy and accelerator mode. Mainly
> tproxy for internet traffic and accelerator mode for web server. Also we
> want to ignore cache control header in the HTTP requests destined for our
> webserver (abcexample.com)  Does the below configuration work ? or Do we
> need to do add IPtables rules?

Ah. Okay. Yes the below should do what you are asking for. Except...

> 
> http_port 3128
> http_port 3129 tproxy
> http_port 80 accel defaultsite=abcexample.com ignore-cc
> 
> 
> cache_peer abcexample.com/data/ parent 80 0 no-query originserver
> name=myAccel


 ... dont put the "/data/" path segment there, the parameter is just the
hostname of the server to open TCP connections to.

> 
> acl our_sites dstdomain abcexample.com
> http_access allow our_sites
> cache_peer_access myAccel allow our_sites
> cache_peer_access myAccel deny all
> 


Amos

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




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

  Powered by Linux