acl manager proto cache_object

acl localhost src 127.0.0.1/32

acl to_localhost dst 127.0.0.0/8 0.0.0.0/32


acl localnet src 10.0.0.0/8# RFC1918 possible internal network

acl localnet src 172.16.0.0/12# RFC1918 possible internal network

acl localnet src 192.168.0.0/16# RFC1918 possible internal network





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


http_access allow  all

#http_access allow manager localhost

http_access deny manager

http_access deny !Safe_ports

http_access deny CONNECT !SSL_ports


http_access allow localnet


icp_access allow localnet

icp_access deny all

visible_hostname  squidserver1

htcp_access allow localnet


http_port 80 vhost vport

hierarchy_stoplist cgi-bin ?


cache_mem 100 MB

access_log c:/squid/var/logs/access.log squid

cache_log c:/squid/var/logs/cache.log

cache_store_log c:/squid/var/logs/store.log

cache_peer 192.168.33.129 parent 18080 0  no-query originserver no-digest name=upaicn

cache_peer_domain upaicn  youjie.co

cache_peer_access upaicn  allow all


refresh_pattern ^ftp:144020%10080

refresh_pattern ^gopher:14400%1440

refresh_pattern (cgi-bin|\?)00%0

refresh_pattern .020%4320


icp_port 3130

coredump_dir c:/squid/var/cache




cache_peer 192.168.33.129 parent 18080 0 no-query originserver no-digest name=dycc_uid7_cn

cache_peer_domain dycc_uid7_cn youjie.co

cache_peer_access dycc_uid7_cn   allow all



cache_peer 192.168.33.129 parent 28080 0  no-query originserver no-digest name=u_pai_cn

cache_peer_domain  u_pai_cn u-pai.cn

cache_peer_access u_pai_cn  allow all