diff --git a/waf.lua b/waf.lua index 93c61d5..a7caae0 100644 --- a/waf.lua +++ b/waf.lua @@ -1,5 +1,6 @@ local content_length=tonumber(ngx.req.get_headers()['content-length']) local method=ngx.req.get_method() +local ngxmatch=ngx.re.match if whiteip() then elseif blockip() then elseif denycc() then