| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- ## 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.example
- node {
- cookie = "influx"
- data_dir = "data"
- }
- log {
- file_handlers.default {
- level = warning
- file = "log/emqx.log"
- }
- }
- cluster {
- name = emqxcl
- discovery_strategy = manual
- }
- listeners.tcp.default {
- bind = "0.0.0.0:1883"
- max_connections = 1024000
- }
- listeners.ssl.default {
- bind = "0.0.0.0:8883"
- max_connections = 512000
- ssl_options {
- keyfile = "etc/certs/key.pem"
- certfile = "etc/certs/cert.pem"
- cacertfile = "etc/certs/cacert.pem"
- }
- }
- listeners.ws.default {
- bind = "0.0.0.0:8083"
- max_connections = 1024000
- websocket.mqtt_path = "/mqtt"
- }
- listeners.wss.default {
- bind = "0.0.0.0:8084"
- max_connections = 512000
- websocket.mqtt_path = "/mqtt"
- ssl_options {
- keyfile = "etc/certs/key.pem"
- certfile = "etc/certs/cert.pem"
- cacertfile = "etc/certs/cacert.pem"
- }
- }
- # listeners.quic.default {
- # enabled = true
- # bind = "0.0.0.0:14567"
- # max_connections = 1024000
- # keyfile = "etc/certs/key.pem"
- # certfile = "etc/certs/cert.pem"
- #}
- dashboard {
- listeners.http {
- bind = 18083
- }
- default_username = "admin"
- default_password = "public"
- }
- authorization {
- deny_action = ignore
- no_match = allow
- cache = { enable = true }
- sources = [
- {
- type = file
- enable = 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 one
- path = "etc/acl.conf"
- }
- ]
- }
- include influx-bridge.conf
|