
http_port 127.0.0.1:3128
icp_port 0


hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

cache_mem 128 MB

cache_dir coss /var/spool/squid/coss1 2048 max-size=100000
cache_dir coss /var/spool/squid/coss2 2048 max-size=200000
cache_dir coss /var/spool/squid/coss3 2048 max-size=500000

cache_access_log none 
cache_log /var/log/squid/cache.log
cache_store_log none
cache_swap_log /var/spool/squid/

hosts_file /etc/hosts

refresh_pattern ^ftp:		1440	20%	10080
refresh_pattern ^gopher:	1440	0%	1440
refresh_pattern .		0	20%	4320

half_closed_clients off

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8

acl Safe_ports port 80 443	# http, https
acl SSL_ports port 443 

acl purge method PURGE
acl CONNECT method CONNECT

acl bad url_regex -i "/etc/squid/squid-block.acl" 


http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

http_access deny bad

http_access allow localhost

http_access deny all

http_reply_access allow all

icp_access allow all



cache_effective_user proxy
cache_effective_group proxy

visible_hostname none

forwarded_for off

header_access Via deny all
header_access Cache-Control deny all

coredump_dir /var/spool/squid



