共 16 篇文章 |
|
http_port 8080cache_peer 10.10.2.53 parent 6666 7 login=username:password default no-querycache_mem 60 MBcache_mgr zdysgs@zju.edu.cndns_nameservers 10.10.0.21visible_hostname zdysgs.zju.edu.cncache_dir ufs /usr/local/squid/var/cache 500 16 256http_access allow allnever_direct allow allerror_directory /usr/local/squid/... 阅973 转5 评0 公众公开 15-04-03 10:42 |
squid优化记及nginx正向代理的缺点 最近局域网内网站的速度有点慢,网络带宽大多数都被p2p占用了,但是由于某些网站的视频用p2p技术,所以不能完全禁止p2p,所以只好在缓存服务器上做文章。即使nginx可以多定义cache,用locate把不同文件类型放进不同的磁盘,但是由于nginx没有良好的磁盘机制,一旦一个磁盘中的文件达到上万后,磁盘IO很快就... 阅3045 转2 评0 公众公开 15-04-02 23:36 |
6.1.2 ACL类型。acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 563 # https, snews 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 p... 阅6768 转11 评0 公众公开 13-04-18 19:02 |
阅614 转2 评0 公众公开 13-01-18 18:17 |