From ef07a31f3dad8286930724404ce1c186ce25588a Mon Sep 17 00:00:00 2001 From: pgrondek Date: Mon, 15 Jun 2020 02:40:54 +0200 Subject: [PATCH] Fix haproxy for octoprint --- roles/octoprint/files/etc/haproxy/haproxy.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/octoprint/files/etc/haproxy/haproxy.cfg b/roles/octoprint/files/etc/haproxy/haproxy.cfg index 231faf3..08483db 100644 --- a/roles/octoprint/files/etc/haproxy/haproxy.cfg +++ b/roles/octoprint/files/etc/haproxy/haproxy.cfg @@ -4,10 +4,10 @@ global defaults mode http - timeout connect 5000ms - timeout client 50000ms - timeout server 50000ms + timeout connect 5s + timeout client 15min + timeout server 15min listen http-in bind *:80 - server server1 127.0.0.1:5000 maxconn 32 + server server1 127.0.0.1:5000 maxconn 2000