-
Notifications
You must be signed in to change notification settings - Fork 1
/
mosquitto.conf
38 lines (27 loc) · 918 Bytes
/
mosquitto.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Place your local configuration in /etc/mosquitto/conf.d/
#
# A full description of the configuration file is at
# /usr/share/doc/mosquitto/examples/mosquitto.conf.example
#pid_file /run/mosquitto/mosquitto.pid
#persistence true
#persistence_location /var/lib/mosquitto/
#log_dest file /var/log/mosquitto/mosquitto.log
#include_dir /etc/mosquitto/conf.d
#allow_anonymous true
persistence true
persistence_location /var/lib/mosquitto/
log_dest file /var/log/mosquitto/mosquitto.log
include_dir /etc/mosquitto/conf.d
allow_anonymous true
#bind_address 0.0.0.0
listener 1883 0.0.0.0
connection cloudmqtt
address <url>.s1.eu.hivemq.cloud:8883 # add HiveMQ adress
topic # both 1
bridge_attempt_unsubscribe false
bridge_protocol_version mqttv311
notifications false
remote_username <hivemq_username> # add username
remote_password <hivemq_password> # add password
try_private false
bridge_capath /etc/ssl/certs/