From dc218cccea08dca53d6f6f33d8c5260baedbc1a8 Mon Sep 17 00:00:00 2001 From: zhengkunwang223 Date: Fri, 19 Apr 2024 16:25:51 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../1.21.4.3-2-1-focal/1pwaf/data/default/global.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/apps/openresty/1.21.4.3-2-1-focal/1pwaf/data/default/global.json b/apps/openresty/1.21.4.3-2-1-focal/1pwaf/data/default/global.json index b065e640..a694a694 100644 --- a/apps/openresty/1.21.4.3-2-1-focal/1pwaf/data/default/global.json +++ b/apps/openresty/1.21.4.3-2-1-focal/1pwaf/data/default/global.json @@ -70,6 +70,13 @@ "ipBlock": "on", "ipBlockTime": 600 }, + "unknownWebsite": { + "state": "on", + "type": "unknownWebsite", + "action": "deny", + "code": 403, + "res": "unknown" + }, "geoRestrict": { "state": "off", "rules": [], @@ -97,12 +104,12 @@ "action": "deny" }, "cc": { - "state": "off", + "state": "on", "type": "cc", "rule": "cc", "tokenTimeOut": 1800, "threshold": 100, - "duration": 10, + "duration": 20, "action": "deny", "ipBlock": "on", "ipBlockTime": 600