feat: 增加 CC 防御的默认值
This commit is contained in:
parent
c5808082a8
commit
a2c19b57f6
|
|
@ -108,8 +108,8 @@
|
||||||
"type": "cc",
|
"type": "cc",
|
||||||
"rule": "cc",
|
"rule": "cc",
|
||||||
"tokenTimeOut": 1800,
|
"tokenTimeOut": 1800,
|
||||||
"threshold": 100,
|
"threshold": 200,
|
||||||
"duration": 20,
|
"duration": 10,
|
||||||
"action": "deny",
|
"action": "deny",
|
||||||
"ipBlock": "on",
|
"ipBlock": "on",
|
||||||
"ipBlockTime": 600
|
"ipBlockTime": 600
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@
|
||||||
"type": "cc",
|
"type": "cc",
|
||||||
"rule": "cc",
|
"rule": "cc",
|
||||||
"tokenTimeOut": 1800,
|
"tokenTimeOut": 1800,
|
||||||
"threshold": 100,
|
"threshold": 200,
|
||||||
"duration": 10,
|
"duration": 10,
|
||||||
"action": "deny",
|
"action": "deny",
|
||||||
"ipBlock": "on",
|
"ipBlock": "on",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue