Commit 60df2149 authored by 吴文龙's avatar 吴文龙

debug

parent 1f0934f2
......@@ -6,7 +6,7 @@ global
tune.maxaccept 500
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
log 127.0.0.1 local1 dubug
ca-base /etc/ssl/certs
crt-base /etc/ssl/private
......@@ -41,12 +41,10 @@ listen stats
listen mqtt-in
bind *:${MQTT_PORT}
mode tcp
# option clitcpka # For TCP keep-alive
timeout client 3h
timeout server 3h
# option tcplog
balance leastconn
option external-check
option log-health-checks
external-check path "/usr/local/bin:/bin"
external-check command /usr/local/bin/check_mqtt.sh
server tbMqtt1 47.99.83.75:31883 check inter 10s rise 2 fall 3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment