Add back dataplaneapi in anticipation of using it to control haproxy rather than haproxy-sdk runtime socket

This commit is contained in:
Thomas Lynch
2023-02-12 13:17:03 +11:00
parent 4e3beaf66d
commit 875e9e5edd
5 changed files with 53 additions and 13 deletions

View File

@@ -18,17 +18,21 @@ defaults
timeout server 50000ms
timeout tarpit 5000ms
#frontend stats-frontend
# bind *:2000
# option tcplog
# mode tcp
# acl white_list src xxx.xxx.xxx.xxx
# tcp-request connection reject unless white_list
# default_backend stats-backend
#backend stats-backend
# mode tcp
# server stats-localhost 127.0.0.1:1999
# program api
# command dataplaneapi -f /etc/haproxy/dataplaneapi.hcl --update-map-files
# no option start-on-reload
#
# frontend stats-frontend
# bind *:2000
# option tcplog
# mode tcp
# acl white_list src 127.0.0.1
# tcp-request connection reject unless white_list
# default_backend stats-backend
#
# backend stats-backend
# mode tcp
# server stats-localhost 127.0.0.1:1999
frontend http-in