Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
persistence true | ||
persistence_location /var/lib/mosquitto/ | ||
persistence_file mosquitto.db | ||
log_dest syslog | ||
log_dest stdout | ||
log_dest topic | ||
log_type error | ||
log_type warning | ||
log_type notice | ||
log_type information | ||
connection_messages true | ||
log_timestamp true | ||
allow_anonymous false | ||
password_file /etc/mosquitto/passwd | ||
|
||
pid_file /var/run/mosquitto.pid | ||
|
||
log_dest file /var/log/mosquitto/mosquitto.log | ||
|
||
include_dir /etc/mosquitto/conf.d | ||
|
||
#listener 1883 | ||
listener some_port_number | ||
|
||
listener some_port_number | ||
#protocol websockets | ||
#tls_version tlsv1 | ||
cafile /etc/ssl/certs/DST_Root_CA_X3.pem | ||
certfile /etc/letsencrypt/live/domain/fullchain.pem | ||
keyfile /etc/letsencrypt/live/domain/privkey.pem | ||
#require_certificate true | ||
|
||
listener some_port_number | ||
protocol websockets | ||
tls_version tlsv1 | ||
cafile /etc/ssl/certs/DST_Root_CA_X3.pem | ||
certfile /etc/letsencrypt/live/domain/fullchain.pem | ||
keyfile /etc/letsencrypt/live/domain/privkey.pem | ||
require_certificate true |