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