优化IP限流规则

This commit is contained in:
不做码农 2022-10-25 07:51:35 +08:00
parent f118e641eb
commit a68788bdba

View File

@ -88,14 +88,7 @@
"Limit": 5 "Limit": 5
}, },
{ {
"Endpoint": "post:*", "Endpoint": "((post)|(put)):*",
//{}{}使s, m, h, d
"Period": "3s",
"Limit": 1
},
{
"Endpoint": "put:*",
//{}{}使s, m, h, d
"Period": "3s", "Period": "3s",
"Limit": 1 "Limit": 1
} }
@ -108,6 +101,6 @@
}, },
// //
"CaptchaOptions": { "CaptchaOptions": {
"length": 4 "length": 4//
} }
} }