Update common.lua

This commit is contained in:
midoks
2022-10-23 00:41:39 +08:00
parent b8421d36ae
commit ea8aa5102b
+2 -1
View File
@@ -137,8 +137,9 @@ function _M.log(self, args, rule_name, reason)
args["reason"] = reason
local push_data = json.encode(args)
-- self:D("push_data:"..push_data)
ngx.shared.waf_limit:rpush("waf_limit_logs", push_data)
-- self:D("push_data:"..push_data)
-- local db = self:initDB()