【问题标题】:Haproxy Multiple Frontend and "NOT" BackendHaproxy 多前端和“非”后端
【发布时间】:2015-12-15 19:58:42
【问题描述】:

是否有人尝试使用 Haproxy 并将多个端口绑定到前端块?我知道前端正在监听端口 80,我们有多个后端监听不同的端口。但是是否可以有多个前端而不是多个后端?

【问题讨论】:

  • 当然。您可以根据需要绑定任意数量。 :)
  • 我该怎么做?因为我尝试进行多个前端配置,但它没有工作
  • 发布您的配置

标签: haproxy


【解决方案1】:
frontend http-in
  bind *:80
  bind *:443
  bind *:what
  bind *:ever
  bind *:you
  bind *:like
====followed by the rest of your config====

【讨论】:

  • 我会试试这个。谢谢
猜你喜欢
  • 1970-01-01
  • 2016-08-17
  • 2020-10-04
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2019-01-26
  • 1970-01-01
  • 2020-10-16
相关资源
最近更新 更多