nginx exact match

This commit is contained in:
denisdulici 2019-03-24 18:52:05 +03:00
parent 0e0bde955d
commit ab67374674

View File

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