Skip to content

Commit 1f85235

Browse files
committed
add management auth brute force protection
1 parent 52c4b95 commit 1f85235

File tree

8 files changed

+345
-10
lines changed

8 files changed

+345
-10
lines changed

config.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,14 @@
2929
"username": "admin",
3030
"password": "admin",
3131
"logging": false,
32-
"logFile": "logs/server.log"
32+
"logFile": "logs/server.log",
33+
"trustedProxies": [],
34+
"ratelimit": {
35+
"enabled": true,
36+
"maxAuthRequests": 3,
37+
"timeWindow": 300,
38+
"whitelist": []
39+
}
3340
},
3441
"testserver": {
3542
"_note": "This is a test server, it will respond with a 200 OK, if enabled",

0 commit comments

Comments
 (0)