Skip to content

Instantly share code, notes, and snippets.

@8parth
Created April 6, 2017 05:27
Show Gist options
  • Save 8parth/9793b52f61f1d8817cc9515cfd8c4bc1 to your computer and use it in GitHub Desktop.
Save 8parth/9793b52f61f1d8817cc9515cfd8c4bc1 to your computer and use it in GitHub Desktop.
Mosquitto config file example
# 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 /var/run/mosquitto.pid
persistence true
persistence_location /var/lib/mosquitto/
log_dest file /var/log/mosquitto/mosquitto.log
include_dir /etc/mosquitto/conf.d
#password_file /etc/mosquitto/passwd
#allow_anonymous false
#cafile path-to-root-ca-certificate
#certfile path-to-certificate-file
#keyfile path-to-private-key-file
#require_certificate true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment