squidguard/config/squid/squid.conf
2022-02-16 19:05:38 -05:00

45 lines
1.1 KiB
SquidConf

# set user and group
cache_effective_user squid
cache_effective_group squid
# store coredumps in the first cache dir
coredump_dir /data/cache/squid
# disk and memory cache settings
cache_dir ufs /data/cache/squid 100 16 256
maximum_object_size 4096 KB
# Access log
access_log daemon:/data/log/squid/access.log squid
# Cache log
cache_log /data/log/squid/cache.log
# the hostname squid displays in error messages
visible_hostname SERVERNAME
# Squid listening port
http_port SQUID_PORT
# Access Control lists
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
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