add paswordless listener and forwarding

This commit is contained in:
2025-11-09 12:11:31 +01:00
parent cdb4d67c41
commit d6c184bc0b

View File

@@ -2,7 +2,21 @@ persistence true
persistence_location /mosquitto/data/
log_dest file /mosquitto/log/mosquitto.log
listener 1883
# Authenticated listener
listener 1883
allow_anonymous false
password_file /mosquitto/config/passwords.txt
# Anonymous listener
listener 1884
allow_anonymous true
# Forward to fluentbit
connection fluentbit
address host:21883
topic forward/# out 0
topic borgmatic/# out 0