mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-30 14:26:36 +08:00
feat(rate-limit): add default request rate limit configuration
- Support openresty_default_limit_req_per_ip in system_configs. - Add limit_req and limit_req_status 429 directive generation in openresty renderer. - Implement route-level limit_req_per_ip override and explicit disable. - Add frontend UI inputs and validation in rate limits tab config. - Update swagger API docs and changelog for v3.4.3-beta.3.
This commit is contained in:
+7
-1
@@ -5571,7 +5571,7 @@ const docTemplate = `{
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "趋势桶分钟数(1、5 或 60,默认 60)",
|
||||
"description": "趋势桶分钟数(1、3、5 或 60,默认 60)",
|
||||
"name": "bucket_minutes",
|
||||
"in": "query"
|
||||
}
|
||||
@@ -18272,6 +18272,9 @@ const docTemplate = `{
|
||||
"limit_rate": {
|
||||
"type": "string"
|
||||
},
|
||||
"limit_req_per_ip": {
|
||||
"type": "string"
|
||||
},
|
||||
"origin_address": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -18388,6 +18391,9 @@ const docTemplate = `{
|
||||
"limit_rate": {
|
||||
"type": "string"
|
||||
},
|
||||
"limit_req_per_ip": {
|
||||
"type": "string"
|
||||
},
|
||||
"origin_host": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user