mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 14:20:55 +03:00
defender: allow to load blocklist/safelist also from config/env vars
Fixes #831 Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -31,7 +31,9 @@
|
||||
"entries_soft_limit": 100,
|
||||
"entries_hard_limit": 150,
|
||||
"safelist_file": "",
|
||||
"blocklist_file": ""
|
||||
"blocklist_file": "",
|
||||
"safelist": [],
|
||||
"blocklist": []
|
||||
},
|
||||
"rate_limiters": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user