🗃️ modified: config/squid/squid.conf 🗃️

This commit is contained in:
Jason 2022-02-17 09:57:07 -05:00
parent e72e1a4cb6
commit 939aaaea68
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F

View File

@ -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