chore: remove duplicated haproxy config section

the mgmt and dashbaord endpoints are both merged 18083 now
no need to declare twice
This commit is contained in:
Zaiming (Stone) Shi 2022-07-04 17:57:13 +02:00
parent f1d87944a9
commit a95474669e
1 changed files with 0 additions and 12 deletions

View File

@ -30,24 +30,12 @@ defaults
##---------------------------------------------------------------- ##----------------------------------------------------------------
## API ## API
##---------------------------------------------------------------- ##----------------------------------------------------------------
frontend emqx_mgmt
mode tcp
option tcplog
bind *:18083
default_backend emqx_mgmt_back
frontend emqx_dashboard frontend emqx_dashboard
mode tcp mode tcp
option tcplog option tcplog
bind *:18083 bind *:18083
default_backend emqx_dashboard_back default_backend emqx_dashboard_back
backend emqx_mgmt_back
mode http
# balance static-rr
server emqx-1 node1.emqx.io:18083
server emqx-2 node2.emqx.io:18083
backend emqx_dashboard_back backend emqx_dashboard_back
mode http mode http
# balance static-rr # balance static-rr