Update anti-cc.lua

pull/8/head
有安科技 2022-09-21 08:49:53 +08:00 committed by GitHub
parent e2000089ab
commit 371ee54dad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ if not c then
sh:set("cc" .. waf.ip, 0, 60, 1)
else
if f == 2 then
return ngx.exit(403)
return ngx.exit(444)
elseif c >= 360 then
sh:set("cc" .. waf.ip, c, 300, 2)
end