From e0c0b2704c6fb3b1c3c7d0636996c9e5361d8726 Mon Sep 17 00:00:00 2001 From: Marcos Nils <1578458+marcosnils@users.noreply.github.com> Date: Mon, 25 Apr 2022 20:53:57 -0300 Subject: [PATCH] Close connection on each http request This avoids haproxy re-using connections and having issues while forwarding traffic to l2 --- haproxy/haproxy.cfg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/haproxy/haproxy.cfg b/haproxy/haproxy.cfg index 8db275f..678c725 100644 --- a/haproxy/haproxy.cfg +++ b/haproxy/haproxy.cfg @@ -1,10 +1,11 @@ defaults mode http timeout connect 5000ms - default-server init-addr none + default-server init-addr none + option http-server-close resolvers docker_resolver - nameserver dns 127.0.0.11:53 + nameserver dns 127.0.0.11:53 frontend http-in bind *:8080