Install the squid accelerated proxy website configuration method above windows

  • 2020-05-09 19:43:08
  • OfStack

Install the squid accelerated agent website above windows

windows squid download / / www. ofstack. com softs / 43599. html

Download and unzip to c:\squid

c: \ squid \ etc \ squid conf as follows

 
# Locally bound IP port  
http_port IP:80 vhost 
visible_hostname localhost 
cache_dir ufs c:/squid/cache 1024 16 256 
cache_mem 100 MB 
# The agent's IP Address and port  
cache_peer ip address  parent 80 0 no-query originserver weight=1 name=a 
cache_peer IP address  parent 80 0 no-query originserver weight=1 name=b 
# Accelerate two sites  
cache_peer_domain a www.aaa.com 
cache_peer_domain b www.bbb.com 

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 


c:\squid\etc\ mime. conf. default

Create the cache directory
c:\squid\sbin\squid -z
Install as service
c:\squid\sbin\squid -i
Start the service
net start squid

For more information see here http: / / www squid - cache. org/Doc/config /

Related articles: