- Voice enhancements, user management, payment method
This commit is contained in:
+9
-4
@@ -41,14 +41,19 @@ server {
|
||||
include fastcgi_params;
|
||||
}
|
||||
|
||||
# Block direct access to db/ and archive/ directories
|
||||
location ~ ^/(db|archive)/ {
|
||||
# Block direct access to storage and internal libraries
|
||||
location ~ ^/(db|archive|lib)/ {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
||||
# Block .sqlite files from being served directly
|
||||
location ~* \.sqlite$ {
|
||||
# Block credentials and SQLite sidecar files
|
||||
location = /config.json {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
||||
location ~* \.sqlite($|-wal$|-shm$) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user