]> git.giorgioravera.it Git - mosquitto.git/commitdiff
Fist commit
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Mon, 15 Mar 2021 14:30:49 +0000 (15:30 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Mon, 15 Mar 2021 14:30:49 +0000 (15:30 +0100)
mosquitto.conf [new file with mode: 0644]

diff --git a/mosquitto.conf b/mosquitto.conf
new file mode 100644 (file)
index 0000000..681d7b1
--- /dev/null
@@ -0,0 +1,24 @@
+persistence true
+persistence_location /mosquitto/data/
+
+log_dest file /mosquitto/log/mosquitto.log
+
+allow_anonymous false
+password_file /mosquitto/config/passwd
+
+# MQTT standard
+#listener 1883 localhost
+listener 1883
+
+# MQTT SSL
+listener 8883
+cafile /certs/chain.pem
+certfile /certs/cert.pem
+keyfile /certs/privkey.pem
+
+# Web Sockets
+listener 9001
+protocol websockets
+cafile /certs/chain.pem
+certfile /certs/cert.pem
+keyfile /certs/privkey.pem