From 58955871ada3163c4d36449b894bd20840df318a Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Sat, 23 May 2020 22:12:03 +0200 Subject: [PATCH] nginx/application: Removed specfic exclusion of htaccess files Because dot files are already blocked in general --- roles/nginx/application/templates/root.conf | 6 ------ 1 file changed, 6 deletions(-) diff --git a/roles/nginx/application/templates/root.conf b/roles/nginx/application/templates/root.conf index 807e047..f890e04 100644 --- a/roles/nginx/application/templates/root.conf +++ b/roles/nginx/application/templates/root.conf @@ -1,9 +1,3 @@ include {{ nginx_snippets_directory }}/global; index index.html index.htm; - -# deny access to .htaccess files, if Apache's document root -# concurs with nginx's one -location ~ /\.ht { - deny all; -}