Docker: Forbid access to the data directory
This commit is contained in:
parent
39e579e427
commit
4a40095122
|
|
@ -44,6 +44,10 @@ http {
|
|||
include fastcgi_params;
|
||||
}
|
||||
|
||||
location ~ /data {
|
||||
return 404;
|
||||
}
|
||||
|
||||
location ~* ^.+\.(log|sqlite)$ {
|
||||
return 404;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue