squid.conf.txt

squid.conf.txt


http_port 3128
 
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin ?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
 
cache_mem 100 MB
cache_dir ufs /var/spool/squid 100 16 256
access_log /var/log/squid/access.log squid
 
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
http_access allow localhost
 
acl our_networks src 192.168.0.0/24
http_access allow our_networks
 
http_access deny all
http_reply_access allow all
icp_access allow all
coredump_dir /var/spool/squid


原文地址:https://www.cnblogs.com/ztguang/p/12647932.html