Jordi Vidal wrote:

Hi,

I'm trying to setup a rule to avoid Nagios from fetching web pages
from the cache of my squid transparent proxy, forcing to check directly
with remote server, but squids seems to ignore completely the rule.


My question is: is the rule "always_direct" usable in a transparent proxy configuration?

My squid version is 2.4.STABLE7. Relevant parts of squid.conf follows:

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
cachemgr_passwd cebolla all
acl local-servers dstdomain .wtn
acl nagios browser check_http
always_direct allow nagios
always_direct allow local-servers




Hello,


You should use the no-cache attribute for this.
For example:;

acl local-servers dstdomain nagios.com
no-cache deny local-servers
...


rgrds,


Bart

//



Reply via email to