mirror of
https://github.com/casjaysdevdocker/squidguard
synced 2025-01-18 12:34:24 -05:00
🗃️ modified: config/squid/squid.conf 🗃️
This commit is contained in:
parent
e72e1a4cb6
commit
939aaaea68
@ -2,6 +2,13 @@
|
|||||||
cache_effective_user squid
|
cache_effective_user squid
|
||||||
cache_effective_group 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
|
# store coredumps in the first cache dir
|
||||||
coredump_dir /data/cache/squid
|
coredump_dir /data/cache/squid
|
||||||
|
|
||||||
@ -15,6 +22,9 @@ access_log daemon:/data/log/squid/access.log squid
|
|||||||
# Cache log
|
# Cache log
|
||||||
cache_log /data/log/squid/cache.log
|
cache_log /data/log/squid/cache.log
|
||||||
|
|
||||||
|
# Log rotation
|
||||||
|
logfile_rotate 0
|
||||||
|
|
||||||
# the hostname squid displays in error messages
|
# the hostname squid displays in error messages
|
||||||
visible_hostname SERVERNAME
|
visible_hostname SERVERNAME
|
||||||
|
|
||||||
@ -39,6 +49,3 @@ acl CONNECT method CONNECT
|
|||||||
# allow everyone
|
# allow everyone
|
||||||
http_access allow localhost
|
http_access allow localhost
|
||||||
http_access allow all
|
http_access allow all
|
||||||
|
|
||||||
# Enable squidGuard
|
|
||||||
redirect_program /usr/bin/squidGuard -c /etc/squidguard/squidGuard.conf
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user