fix: update comment

This commit is contained in:
EMQ-YangM 2022-05-13 13:55:17 +08:00
parent 637b81ec18
commit 798a6dcfb9
1 changed files with 5 additions and 3 deletions

View File

@ -241,9 +241,11 @@ basic_config(#{
connect_timeout => 30, connect_timeout => 30,
reconnect_interval => ReconnIntv, reconnect_interval => ReconnIntv,
proto_ver => ProtoVer, proto_ver => ProtoVer,
%% If haporxy enables mqtt connection packet checking, %% Opening bridge_mode will form a non-standard mqtt connection message.
%% then using bridge_mode will directly cause the connection to fail. %% A load balancing server (such as haproxy) is often set up before the emqx broker server.
%% Let's disable bridge_mode. %% When the load balancing server enables mqtt connection packet inspection,
%% non-standard mqtt connection packets will be filtered out by LB.
%% So let's disable bridge_mode.
bridge_mode => false, bridge_mode => false,
username => User, username => User,
password => Password, password => Password,