diff --git a/config/squid/squid.conf b/config/squid/squid.conf index 2516193..e9ea73b 100644 --- a/config/squid/squid.conf +++ b/config/squid/squid.conf @@ -2,6 +2,13 @@ cache_effective_user squid cache_effective_group squid +# set c-icap +icap_enable on +icap_service service_req reqmod_precache bypass=1 icap://127.0.0.1:1344/request +adaptation_access service_req allow all +icap_service service_resp respmod_precache bypass=0 icap://127.0.0.1:1344/response +adaptation_access service_resp allow all + # store coredumps in the first cache dir coredump_dir /data/cache/squid @@ -15,6 +22,9 @@ access_log daemon:/data/log/squid/access.log squid # Cache log cache_log /data/log/squid/cache.log +# Log rotation +logfile_rotate 0 + # the hostname squid displays in error messages visible_hostname SERVERNAME @@ -39,6 +49,3 @@ acl CONNECT method CONNECT # allow everyone http_access allow localhost http_access allow all - -# Enable squidGuard -redirect_program /usr/bin/squidGuard -c /etc/squidguard/squidGuard.conf