Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
I
iot-mqtt-bl
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
deploy
iot-mqtt-bl
Commits
60df2149
Commit
60df2149
authored
Apr 27, 2023
by
吴文龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
1f0934f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
haproxy.cfg
haproxy/config/haproxy.cfg
+2
-4
No files found.
haproxy/config/haproxy.cfg
View file @
60df2149
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment