Docker: Forbid access to the data directory

This commit is contained in:
FUJII Ryota 2019-02-23 16:57:54 +09:00 committed by fguillot
parent 39e579e427
commit 4a40095122
1 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,10 @@ http {
include fastcgi_params;
}
location ~ /data {
return 404;
}
location ~* ^.+\.(log|sqlite)$ {
return 404;
}