Deny access to data directory in development environment

This commit is contained in:
Thilina
2021-06-27 18:03:23 +02:00
parent c0ce41ed2f
commit e88f5f8a1a

View File

@@ -22,6 +22,11 @@ server {
try_files $uri $uri/ =404;
}
location /app/data/ {
deny all;
return 404;
}
location /core/ {
deny all;
}