Last active
December 14, 2015 09:08
-
-
Save pensz/5062178 to your computer and use it in GitHub Desktop.
配置一个简单的squid http 代理
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. 修改acl | |
http_access allow all | |
2. 修改可以缓存文件的大小限制 | |
maximum_object_size 400000 KB | |
3. 修改cache的目录, 目录接着后面的那个缓存目录的大小 | |
cache_dir ufs /var/spool/squid3 10000 16 256 | |
4. 修改refresh pattern,默认的很坑 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment