diff --git a/haproxy.cfg b/haproxy.cfg index fccd49b..79529d3 100644 --- a/haproxy.cfg +++ b/haproxy.cfg @@ -136,12 +136,12 @@ listen psql-vke balance leastconn server master 192.168.122.2:32128 check -listen input-mix-from-edge - bind *:84 - mode tcp - option clitcpka - timeout client 3h - timeout server 3h - option tcplog +frontend input-mix-from-edge + bind 0.0.0.0:84 + mode http + use_backend input-mix-from-edge + +backend input-mix-from-edge balance leastconn - server edge 192.168.36.5:81 check + mode http + server master 192.168.36.5:81 check