From 24de0cee57ba2fb1bbd7622ae9dc76cc0d652797 Mon Sep 17 00:00:00 2001 From: psy <psy@darmstadt.ccc.de> Date: Sun, 30 Jan 2022 13:24:59 +0100 Subject: [PATCH] match .well-known only on top level --- templates/vhost.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/vhost.conf.j2 b/templates/vhost.conf.j2 index 2a6872b..ece2cf9 100644 --- a/templates/vhost.conf.j2 +++ b/templates/vhost.conf.j2 @@ -89,7 +89,7 @@ server { {% if vhost.disallow_dotfiles %} # explicitly allow .well-known/ - location ~ /\.well-known/ { + location ~ ^/\.well-known/ { allow all; } -- GitLab