From 75d40ca5e2c7650b434119fc3a87c16ee276158e Mon Sep 17 00:00:00 2001
From: salty <salty@salty.dk>
Date: Tue, 28 Nov 2023 09:34:24 +0100
Subject: [PATCH] [IMP] Bind to IPv4 and IPv6 in haproxy (#108)

---
 haproxy.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/haproxy.cfg b/haproxy.cfg
index bfa961f..c87c8d8 100644
--- a/haproxy.cfg
+++ b/haproxy.cfg
@@ -44,7 +44,7 @@ backend docker-events
     timeout server 0
 
 frontend dockerfrontend
-    bind :2375
+    bind :::2375 v4v6
     http-request deny unless METH_GET || { env(POST) -m bool }
     http-request allow if { path,url_dec -m reg -i ^(/v[\d\.]+)?/containers/[a-zA-Z0-9_.-]+/((stop)|(restart)|(kill)) } { env(ALLOW_RESTARTS) -m bool }
     http-request allow if { path,url_dec -m reg -i ^(/v[\d\.]+)?/containers/[a-zA-Z0-9_.-]+/start } { env(ALLOW_START) -m bool }
-- 
GitLab