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; -}