nginx exact match
This commit is contained in:
parent
0e0bde955d
commit
ab67374674
@ -27,7 +27,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Prevent Direct Access To Protected Folders
|
# 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;
|
deny all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user