优化IP限流规则
This commit is contained in:
parent
f118e641eb
commit
a68788bdba
@ -88,14 +88,7 @@
|
||||
"Limit": 5
|
||||
},
|
||||
{
|
||||
"Endpoint": "post:*",
|
||||
//时间段,格式:{数字}{单位};可使用单位:s, m, h, d
|
||||
"Period": "3s",
|
||||
"Limit": 1
|
||||
},
|
||||
{
|
||||
"Endpoint": "put:*",
|
||||
//时间段,格式:{数字}{单位};可使用单位:s, m, h, d
|
||||
"Endpoint": "((post)|(put)):*",
|
||||
"Period": "3s",
|
||||
"Limit": 1
|
||||
}
|
||||
@ -108,6 +101,6 @@
|
||||
},
|
||||
//验证码配置
|
||||
"CaptchaOptions": {
|
||||
"length": 4
|
||||
"length": 4//验证码长度
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user