From 14a78d015521761e3d385330f0fd6c4cb6d67e82 Mon Sep 17 00:00:00 2001 From: loveshell <82163261@qq.com> Date: Tue, 19 May 2015 20:21:52 +0800 Subject: [PATCH] add local var --- waf.lua | 1 + 1 file changed, 1 insertion(+) 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