Files
addons/mosquitto/data/mosquitto.conf
Pascal Vizeli 6af0f83c55 Mqtt update (#620)
* Update Mosquitto / Auth plugin

* file

* extract auth plugin builder

* fix arm

* fix build

* Fix multiarch build

* cleanup

* test

* Use own plugin

* cleanup config handling

* Fix startup

* revert bashio config

* fix error

* Update CHANGELOG.md

* cleanup
2019-07-01 15:37:53 +02:00

38 lines
616 B
Plaintext

##
# defaults
protocol mqtt
user root
##
# logging
log_dest stdout
##
# datastore
persistence true
persistence_location /data/
##
# User settings
auth_plugin /usr/share/mosquitto/auth-plug.so
auth_opt_backends http
auth_opt_http_ip 127.0.0.1
auth_opt_http_port 8080
auth_opt_http_getuser_uri /login
auth_opt_http_superuser_uri /superuser
auth_opt_http_aclcheck_uri /acl
auth_opt_log_quiet %%AUTH_QUIET_LOGS%%
auth_opt_auth_cacheseconds 300
allow_anonymous %%ANONYMOUS%%
#include_dir /share/mosquitto
listener 1883
protocol mqtt
listener 1884
protocol websockets
# Follow SSL listener if a certificate exists