add local var

pull/47/merge v0.7.1
loveshell 10 years ago
parent 2897e494ea
commit 14a78d0155

@ -1,5 +1,6 @@
local content_length=tonumber(ngx.req.get_headers()['content-length']) local content_length=tonumber(ngx.req.get_headers()['content-length'])
local method=ngx.req.get_method() local method=ngx.req.get_method()
local ngxmatch=ngx.re.match
if whiteip() then if whiteip() then
elseif blockip() then elseif blockip() then
elseif denycc() then elseif denycc() then

Loading…
Cancel
Save