feat: 升级 Openresty 版本到 1.21.4.3-3-3 (#1639)

This commit is contained in:
zhengkunwang 2024-06-25 10:08:35 +08:00 committed by GitHub
parent 920511525b
commit 8c7b636950
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
54 changed files with 27 additions and 10 deletions

View File

@ -108,11 +108,12 @@
"type": "cc", "type": "cc",
"rule": "cc", "rule": "cc",
"tokenTimeOut": 1800, "tokenTimeOut": 1800,
"threshold": 200, "threshold": 100,
"duration": 10, "duration": 10,
"action": "deny", "action": "deny",
"ipBlock": "on", "ipBlock": "on",
"ipBlockTime": 600 "ipBlockTime": 600,
"mode": "uri"
}, },
"ccurl": { "ccurl": {
"state": "off", "state": "off",

View File

@ -20,7 +20,9 @@
"status": [], "status": [],
"uri": [ "uri": [
"/favicon.ico" "/favicon.ico"
] ],
"ua": [],
"ip": []
}, },
"log": { "log": {
"maxDay": 180 "maxDay": 180

View File

@ -58,7 +58,8 @@
"duration": 10, "duration": 10,
"action": "deny", "action": "deny",
"ipBlock": "on", "ipBlock": "on",
"ipBlockTime": 600 "ipBlockTime": 600,
"mode": "uri"
}, },
"ccurl": { "ccurl": {
"state": "on", "state": "on",

View File

@ -1,6 +1,6 @@
{ {
"waf": { "waf": {
"state": "on", "state": "off",
"mode": "protection", "mode": "protection",
"secret": "" "secret": ""
}, },
@ -70,6 +70,13 @@
"ipBlock": "on", "ipBlock": "on",
"ipBlockTime": 600 "ipBlockTime": 600
}, },
"unknownWebsite": {
"state": "on",
"type": "unknownWebsite",
"action": "deny",
"code": 403,
"res": "unknown"
},
"geoRestrict": { "geoRestrict": {
"state": "off", "state": "off",
"rules": [], "rules": [],
@ -97,7 +104,7 @@
"action": "deny" "action": "deny"
}, },
"cc": { "cc": {
"state": "off", "state": "on",
"type": "cc", "type": "cc",
"rule": "cc", "rule": "cc",
"tokenTimeOut": 1800, "tokenTimeOut": 1800,
@ -105,7 +112,8 @@
"duration": 10, "duration": 10,
"action": "deny", "action": "deny",
"ipBlock": "on", "ipBlock": "on",
"ipBlockTime": 600 "ipBlockTime": 600,
"mode": "uri"
}, },
"ccurl": { "ccurl": {
"state": "off", "state": "off",
@ -124,7 +132,7 @@
"ipBlockTime": 3000 "ipBlockTime": 3000
}, },
"fileExt": { "fileExt": {
"state": "on", "state": "off",
"action": "deny", "action": "deny",
"code": 403, "code": 403,
"type": "fileExtCheck" "type": "fileExtCheck"
@ -158,5 +166,8 @@
"state": "on", "state": "on",
"code": 403, "code": 403,
"action": "deny" "action": "deny"
},
"cdn": {
"state": "off"
} }
} }

View File

@ -1,5 +1,5 @@
{ {
"state": "on", "state": "off",
"exclude": { "exclude": {
"extensions": [ "extensions": [
"png", "png",
@ -20,7 +20,9 @@
"status": [], "status": [],
"uri": [ "uri": [
"/favicon.ico" "/favicon.ico"
] ],
"ua": [],
"ip": []
}, },
"log": { "log": {
"maxDay": 180 "maxDay": 180