




复制代码 代码如下:
#本地绑定的IP端口 
http_port IP:80 vhost 
visible_hostname localhost 
cache_dir ufs c:/squid/cache 1024 16 256 
cache_mem 100 MB 
#代理的IP地址和端口 
cache_peer ip地址 parent 80 0 no-query originserver weight=1 name=a 
cache_peer IP地址 parent 80 0 no-query originserver weight=1 name=b 
#加速两个站点 
cache_peer_domain a  
cache_peer_domain b  
acl all src 0.0.0.0/0.0.0.0 
http_access allow all 
cache_peer_access a allow all 
cache_peer_access b allow all 
tcp_recv_bufsize 65535 bytes 
cache_mgr phpsir@qq.com 
icp_port 0
新闻热点
疑难解答