Disallow download of dabase through webserver
This commit is contained in:
@@ -37,6 +37,11 @@ http {
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include fastcgi_params;
|
||||
}
|
||||
|
||||
location ~ \.db$ {
|
||||
deny all;
|
||||
return 403;
|
||||
}
|
||||
}
|
||||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
|
||||
Reference in New Issue
Block a user