Allow anonymouse (for testing)
All checks were successful
Deploy to Fighter / Deploy (push) Successful in 7s
Deploy to Fighter / Notify (push) Successful in 2s

This commit is contained in:
Joey Hafner 2024-02-26 16:26:17 -08:00
parent 7492bb2e07
commit 0d7c69e000

View File

@ -427,7 +427,7 @@ listener 1883 0.0.0.0
# subscriptions, currently in-flight messages and retained
# messages.
# retained_persistence is a synonym for this option.
#persistence false
persistence true
# The filename to use for the persistent database, not including
# the path.
@ -437,7 +437,7 @@ listener 1883 0.0.0.0
# Default is an empty string (current directory).
# Set to e.g. /var/lib/mosquitto if running as a proper service on Linux or
# similar.
#persistence_location
persistence_location /mosquitto/data/
# =================================================================
@ -470,7 +470,8 @@ listener 1883 0.0.0.0
# Note that if the broker is running as a Windows service it will default to
# "log_dest none" and neither stdout nor stderr logging is available.
# Use "log_dest none" if you wish to disable logging.
#log_dest stderr
log_dest stdout
log_dest file /mosquitto/log/mosquitto.log
# Types of messages to log. Use multiple log_type lines for logging
# multiple types of messages.
@ -531,7 +532,7 @@ listener 1883 0.0.0.0
# Defaults to false, unless there are no listeners defined in the configuration
# file, in which case it is set to true, but connections are only allowed from
# the local machine.
allow_anonymous false
allow_anonymous true
# -----------------------------------------------------------------
# Default authentication and topic access control