【问题标题】:Is there a way to work around the "no <listen> line. Nothing to do !" HAProxy error?有没有办法解决“没有 <listen> 行。无事可做!” HAProxy 错误?
【发布时间】:2014-09-15 22:01:23
【问题描述】:

当我们启动 HAProxy 时,它会立即退出并出现 no &lt;listen&gt; line. Nothing to do ! 错误。我们希望它正常启动,并在我们的服务发现应用程序准备好后使用正确的配置重新加载它。有没有办法做到这一点?

【问题讨论】:

    标签: haproxy service-discovery


    【解决方案1】:

    为什么不为统计页面添加一个监听器?

    listen stats :1936
        mode http
        stats enable
        stats hide-version
        stats realm Haproxy\ Statistics
        stats uri /
        stats auth Username:Password
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-08-21
      • 1970-01-01
      • 2020-12-13
      • 2021-06-03
      • 2018-05-16
      • 1970-01-01
      • 1970-01-01
      • 2021-05-07
      相关资源
      最近更新 更多