【问题标题】:squid configuration linux stepsquid配置linux步骤
【发布时间】: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如果你有什么具体的疑问,也许可以专门问,不要指望有人在这里解释整个配置文件。

标签: linux unix squid


【解决方案1】:

Here 是我几天前在我的服务器上设置 squid 时使用的一个很棒的教程。

或者,如果您想详细了解每个选项的作用,请查看 Oskar Pearson 的 this 教程。它不仅包括配置说明,还包括整个user guide

您也可以考虑浏览official docs

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-02-16
    • 1970-01-01
    • 1970-01-01
    • 2022-08-23
    • 2013-09-08
    • 1970-01-01
    相关资源
    最近更新 更多