From ced69c909493aeb7bb79f7efd38da903b9c84e29 Mon Sep 17 00:00:00 2001 From: Zoey Date: Sun, 24 Mar 2024 16:43:09 +0100 Subject: [PATCH] Update haproxy.cfg Signed-off-by: Zoey --- haproxy.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haproxy.cfg b/haproxy.cfg index f7ed8d9..b038a7c 100644 --- a/haproxy.cfg +++ b/haproxy.cfg @@ -65,7 +65,7 @@ frontend http frontend https mode http - bind abns@haproxy-https accept-proxy ssl crt /etc/cert.pem alpn h3,h2,http/1.1 + bind abns@haproxy-https accept-proxy ssl crt /tmp/cert.pem alpn h3,h2,http/1.1 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_.-]+/((start)|(stop)|(kill)|(restart)) } { env(ALLOW_POWER) -m bool } http-request allow if { path,url_dec -m reg -i ^(/v[\d\.]+)?/containers/[a-zA-Z0-9_.-]+/restart } { env(ALLOW_RESTART) -m bool }