V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
eromoe
V2EX  ›  问与答

关于 squid 配置文件 include

  •  
  •   eromoe · 2016-08-27 21:27:14 +08:00 · 1842 次点击
    这是一个创建于 2792 天前的主题,其中的信息可能已经有所发展或是发生改变。

    我有个代理列表,写成配置类似

    cache_peer `ip` parent `port` 0 no-query
    ....
    ....
    ....
    ....
    

    直接写在 /etc/squid3/squid.conf 里就没问题,可以用squid3 当做总代理

    如果我把所有 cache_peer 全部放到 /xxx/squid_proxy.conf

    然后在 /etc/squid3/squid.conf 里加上

    include /xxx/squid_proxy.conf
    

    就会导致 squid3 无法代理

    这是怎么回事?

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2853 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 14:19 · PVG 22:19 · LAX 07:19 · JFK 10:19
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.