23 lines
532 B
SquidConf
23 lines
532 B
SquidConf
max_filedescriptors 8192
|
|
pid_filename none
|
|
http_port 3128
|
|
|
|
# Log on stdout
|
|
access_log stdio:/dev/stdout combined
|
|
|
|
# NCSA auth
|
|
auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/auth
|
|
auth_param basic children 2 startup=2 idle=1
|
|
auth_param basic credentialsttl 1 hours
|
|
|
|
# Allow squid manager
|
|
acl auth_squid_manager proxy_auth squid_manager
|
|
http_access allow manager localhost auth_squid_manager
|
|
# Deny cache manager to anyone else
|
|
http_access deny manager
|
|
|
|
# Include config fragment
|
|
include /etc/squid/conf.d/*.conf
|
|
|
|
|