mirror of
				https://github.com/casjaysdevdocker/squidguard
				synced 2025-11-04 07:02:15 -05:00 
			
		
		
		
	🗃️ modified: config/squid/squid.conf 🗃️
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user