21 lines
506 B
Plaintext
21 lines
506 B
Plaintext
persistence true
|
|
persistence_location /mosquitto/data
|
|
|
|
log_dest stdout
|
|
log_type warning
|
|
log_type error
|
|
log_type notice
|
|
|
|
# Every client authenticates; identities and their per-topic ACLs are managed
|
|
# at runtime by the dynamic security plugin, whose store the plugin itself owns.
|
|
allow_anonymous false
|
|
plugin /usr/lib/mosquitto_dynamic_security.so
|
|
plugin_opt_config_file /mosquitto/data/dynamic-security.json
|
|
|
|
# MQTT listener
|
|
listener 1883
|
|
|
|
# MQTT-over-WebSockets listener
|
|
listener 8081
|
|
protocol websockets
|