add local var

pull/47/merge v0.7.1
loveshell 2015-05-19 20:21:52 +08:00
parent 2897e494ea
commit 14a78d0155
1 changed files with 1 additions and 0 deletions

View File

@ -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