From f8cd042975fe01ba02defc5053b077c2ec621081 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 20 Oct 2020 14:45:27 +0200 Subject: [PATCH] Do not block the .well-known urls --- templates/nginx-virthost.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/nginx-virthost.j2 b/templates/nginx-virthost.j2 index 9303f0c..ccb1519 100644 --- a/templates/nginx-virthost.j2 +++ b/templates/nginx-virthost.j2 @@ -57,7 +57,7 @@ server { access_log off; } {% if nginx_block_dotfiles %} - location ~ /\. { + location ~ /\.(?!well-known).* { deny all; access_log off; log_not_found off;