From bce2830e0657498fa4e41e223c42528b518ce51e Mon Sep 17 00:00:00 2001 From: cociweb Date: Tue, 12 Sep 2023 09:06:07 +0200 Subject: [PATCH] Enable HTTP/2 protocol by default in HaProxy HTTP2 nowadays is a must have feature to improve the speed of the webservices. --- root/etc/haproxy/haproxy.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/haproxy/haproxy.cfg b/root/etc/haproxy/haproxy.cfg index 8908e99..1ea9f9d 100644 --- a/root/etc/haproxy/haproxy.cfg +++ b/root/etc/haproxy/haproxy.cfg @@ -20,7 +20,7 @@ defaults timeout server 15m frontend public - bind *:80 + bind *:80 alpn h2,http/1.1 use_backend webcam if { path_beg /webcam/ } default_backend octoprint