2024-11-07 20:35:30 +00:00
|
|
|
# Mosquitto configuration
|
|
|
|
persistence true
|
|
|
|
persistence_location /data/
|
2024-11-07 20:49:15 +00:00
|
|
|
#log_dest file /logs/mosquitto.log
|
2024-11-07 20:35:30 +00:00
|
|
|
|
|
|
|
# Default listener for unencrypted connections
|
|
|
|
listener 1883
|
|
|
|
allow_anonymous false
|
|
|
|
|
|
|
|
# Optional TLS listener
|
|
|
|
listener 1884
|
|
|
|
# Uncomment and configure the following for TLS
|
|
|
|
# cafile /etc/mosquitto/ca_certificates/ca.crt
|
|
|
|
# certfile /etc/mosquitto/certs/server.crt
|
|
|
|
# keyfile /etc/mosquitto/certs/server.key
|
|
|
|
|
|
|
|
# Include directory for additional configuration files
|
|
|
|
include_dir /etc/mosquitto/conf.d
|