From 545e49e85ba9ea558285b4adcf4d969dbdbef4aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Wed, 28 Jul 2021 16:10:50 +0200 Subject: [PATCH] add postgres --- haproxy.cfg | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/haproxy.cfg b/haproxy.cfg index 6fb2a69..b2468fd 100644 --- a/haproxy.cfg +++ b/haproxy.cfg @@ -125,3 +125,13 @@ listen amqp-vke option tcplog balance leastconn server edge 192.168.122.2:32551 check + +listen psql-vke + bind *:5432 + mode tcp + option clitcpka + timeout client 3h + timeout server 3h + option tcplog + balance leastconn + server edge 192.168.122.2:32128 check