From 61dc8203ac62c3da00f438c467a2af3213b6ec12 Mon Sep 17 00:00:00 2001 From: LinuxSquare Date: Sat, 9 Mar 2024 18:34:06 +0100 Subject: [PATCH] disable host-ssh timeout --- haproxy/files/haproxy_config.jinja | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/haproxy/files/haproxy_config.jinja b/haproxy/files/haproxy_config.jinja index 8011263..40c0c50 100644 --- a/haproxy/files/haproxy_config.jinja +++ b/haproxy/files/haproxy_config.jinja @@ -21,18 +21,20 @@ frontend ssh mode tcp bind {{ ipv4 }}:22 - default_backend ssh + default_backend host-ssh frontend http mode tcp bind {{ ipv4 }}:80 - default_backend http + default_backend host-http + +backend host-ssh + timeout server 0 -backend ssh mode tcp server localhost 127.0.0.1 -backend http +backend host-http mode tcp server localhost 127.0.0.1