diff --git a/.htaccess b/.htaccess index feb06d7c1..13aff4065 100644 --- a/.htaccess +++ b/.htaccess @@ -12,7 +12,7 @@ RewriteEngine On # Prevent Direct Access to Protected Files - + Order deny,allow Deny from all diff --git a/nginx.example.com.conf b/nginx.example.com.conf index fcea95fb9..e4270878d 100644 --- a/nginx.example.com.conf +++ b/nginx.example.com.conf @@ -22,7 +22,7 @@ server { } # Prevent Direct Access To Protected Files - location ~ \.(env|json|log) { + location ~ \.(env|log) { deny all; }