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


posted @ 2016-03-30 09:54  张同光  阅读(91)  评论(0编辑  收藏  举报