docker-stacks/mosquitto/config/mosquitto.conf.dist

19 lines
498 B
Plaintext
Raw Normal View History

2024-11-07 20:35:30 +00:00
# Mosquitto configuration
persistence true
persistence_location /data/
log_dest file /logs/mosquitto.log
# 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