Deny access to data directory in development environment
This commit is contained in:
1 parent
c0ce41ed2f
commit
e88f5f8a1a
1 file changed
+5
@@ -22,6 +22,11 @@ server {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
|
||||
location /app/data/ {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
||||
location /core/ {
|
||||
deny all;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user