Created
April 7, 2022 17:54
-
-
Save psujit775/29551b6c1427f2beca0201e2e8b3ff93 to your computer and use it in GitHub Desktop.
mosquitto.conf fro mqtt websocket
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#web socket | |
listener 9001 | |
protocol websockets | |
pid_file /var/run/mosquitto.pid | |
user ubuntu | |
persistence true | |
persistence_location /var/lib/mosquitto/ | |
max_connections -1 | |
log_type all | |
log_dest file /var/log/mosquitto/mosquitto.log | |
connection_messages true | |
log_timestamp true | |
log_timestamp_format %Y-%m-%dT%H:%M:%S | |
include_dir /etc/mosquitto/conf.d | |
password_file /etc/mosquitto/passwd | |
allow_anonymous false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment