From 98d49b2ed3b7d52ac4dd5dc096b308f040294811 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 3 May 2024 18:44:23 +0200 Subject: [PATCH] Remove a wrong endif. --- templates/nginx-redmine-virthost.j2 | 2 -- 1 file changed, 2 deletions(-) diff --git a/templates/nginx-redmine-virthost.j2 b/templates/nginx-redmine-virthost.j2 index c155922..f195b65 100644 --- a/templates/nginx-redmine-virthost.j2 +++ b/templates/nginx-redmine-virthost.j2 @@ -26,7 +26,6 @@ server { log_not_found off; return 404; } -{% endif %} {% elif nginx_block_dangerous_dotfiles %} location ~ /\.(?ht).* { deny all; @@ -243,7 +242,6 @@ server { log_not_found off; return 404; } -{% endif %} {% elif nginx_block_dangerous_dotfiles %} location ~ /\.(?ht).* { deny all;