西安网站建设官网,网站不显示内容吗,网站建设托管合同,广州万户网站公司EMQX 主配置文件为 emqx.conf#xff0c;根据安装方式其所在位置有所不同#xff1a;
安装方式配置文件所在位置DEB 或 RPM 包安装/etc/emqx/emqx.confDocker 容器/opt/emqx/etc/emqx.conf解压缩包安装./etc/emqx.conf EMQ X 消息服务器默认占用的 TCP 端口包括: 端口 说明…
EMQX 主配置文件为 emqx.conf根据安装方式其所在位置有所不同
安装方式配置文件所在位置DEB 或 RPM 包安装/etc/emqx/emqx.confDocker 容器/opt/emqx/etc/emqx.conf解压缩包安装./etc/emqx.conf EMQ X 消息服务器默认占用的 TCP 端口包括: 端口 说明 1883 MQTT 协议端口 8883 MQTT/SSL 端口 8083 MQTT/WebSocket 端口 8080 HTTP API 端口 18083 Dashboard 管理控制台端口
## NOTE:
## Configs in this file might be overridden by:
## 1. Environment variables which start with EMQX_ prefix
## 2. File $EMQX_NODE__DATA_DIR/configs/cluster-override.conf
## 3. File $EMQX_NODE__DATA_DIR/configs/local-override.conf
##
## The *-override.conf files are overwritten at runtime when changes
## are made from EMQX dashboard UI, management HTTP API, or CLI.
## All configuration details can be found in emqx.conf.examplenode {name emqx127.0.0.1cookie emqxsecretcookiedata_dir /var/lib/emqx
}log {file_handlers.default {level warningfile /var/log/emqx/emqx.log}
}cluster {name emqxcldiscovery_strategy manual
}listeners.tcp.default {bind 0.0.0.0:1883max_connections 1024000
}listeners.ssl.default {bind 0.0.0.0:8883max_connections 512000ssl_options {keyfile /etc/emqx/certs/key.pemcertfile /etc/emqx/certs/cert.pemcacertfile /etc/emqx/certs/cacert.pem}
}listeners.ws.default {bind 0.0.0.0:8083max_connections 1024000websocket.mqtt_path /mqtt
}listeners.wss.default {bind 0.0.0.0:8084max_connections 512000websocket.mqtt_path /mqttssl_options {keyfile /etc/emqx/certs/key.pemcertfile /etc/emqx/certs/cert.pemcacertfile /etc/emqx/certs/cacert.pem}
}# listeners.quic.default {
# enabled true
# bind 0.0.0.0:14567
# max_connections 1024000
# keyfile /etc/emqx/certs/key.pem
# certfile /etc/emqx/certs/cert.pem
#}dashboard {listeners.http {bind 18083}default_username admindefault_password public
}authorization {deny_action ignoreno_match allowcache { enable true }sources [{type fileenable true# This file is immutable to EMQX.# Once new rules are created from dashboard UI or HTTP API,# the file data/authz/acl.conf is used instead of this onepath /etc/emqx/acl.conf}]
}