【发布时间】:2014-11-08 14:29:06
【问题描述】:
大家好,
谁能解释一下这个配置命令
cache_dir ufs /var/cache/squid 4096 16 256
acl all src 0/0
acl cacheProto proto cache_object
acl localhost src 127.0.0.1/32
acl authorizedPorts port 80 443
acl SSLPort port 443
acl connect method CONNECT
acl myNetwork src 192.168.82.0/24
http_access allow cacheProto localhost
http_access deny cacheProto
http_access deny !authorizedPorts
http_access deny connect !SSLPort
http_access allow myNetwork
http_access deny all
谢谢
【问题讨论】:
-
您是否尝试过阅读文档? squid-cache.org/Doc/config/cache_dir如果你有什么具体的疑问,也许可以专门问,不要指望有人在这里解释整个配置文件。