Last active
August 29, 2015 14:15
-
-
Save andreareginato/61aa22c7f7a3fe737849 to your computer and use it in GitHub Desktop.
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
# Listen to all MQTT requests (port 1883) | |
listen mqtt | |
# MQTT binding to port 1883 | |
bind *:1883 | |
# communication mode (MQTT works on top of TCP) | |
mode tcp | |
option tcplog | |
# balance mode (to choose which MQTT server to use) | |
balance leastconn | |
# MQTT server 1 | |
server mosca_1 178.62.122.204:1883 check | |
# MQTT server 2 | |
server mosca_2 178.62.104.172:1883 check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment