mirror of
https://github.com/casjaysdevdocker/squidguard
synced 2025-01-18 18:34:29 -05:00
41 lines
1.0 KiB
SquidConf
41 lines
1.0 KiB
SquidConf
|
# 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 localhost
|
||
|
|
||
|
# Squid listening port
|
||
|
http_port 3127
|
||
|
|
||
|
# 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
|