From fcd94c8eae3d4972e0eeb60e6ae91a73f34df280 Mon Sep 17 00:00:00 2001 From: js Date: Fri, 12 Dec 2025 13:11:14 +0000 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20=D0=B2=20=C2=AB?= =?UTF-8?q?/=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- haproxy.cfg | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 haproxy.cfg diff --git a/haproxy.cfg b/haproxy.cfg new file mode 100644 index 0000000..b095779 --- /dev/null +++ b/haproxy.cfg @@ -0,0 +1,23 @@ +global + log /dev/log local0 + maxconn 2000 + daemon + +defaults + log global + mode tcp + option tcplog + timeout connect 5s + timeout client 30s + timeout server 30s + +frontend incus_api + bind *:8443 + default_backend incus_back + +backend incus_back + balance leastconn + option tcp-check + server s1 10.220.187.121:8443 check + server s2 10.220.187.189:8443 check + server s3 10.220.187.10:8443 check \ No newline at end of file