Skip to content

Instantly share code, notes, and snippets.

@chepecarlos
Created January 12, 2023 22:55
Show Gist options
  • Save chepecarlos/8e55deb18c5b6fe4669b237a6e06487e to your computer and use it in GitHub Desktop.
Save chepecarlos/8e55deb18c5b6fe4669b237a6e06487e to your computer and use it in GitHub Desktop.
Configuraciones de Mosquitto
# 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
#Mi codigo
listener 1883
protocol mqtt
allow_anonymous true
listener 1884
protocol websockets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment