diff --git a/nginx.example.com.conf b/nginx.example.com.conf index 834b1fecd..ac0b7c59d 100644 --- a/nginx.example.com.conf +++ b/nginx.example.com.conf @@ -27,7 +27,7 @@ server { } # Prevent Direct Access To Protected Folders - location ~ ^/(app|bootstrap|config|database|resources|routes|storage|tests|artisan) { + location ~ ^/(^app$|bootstrap|config|database|resources|routes|storage|tests|artisan) { deny all; }