Skip to content

Commit

Permalink
fix blockip
Browse files Browse the repository at this point in the history
  • Loading branch information
loveshell committed Dec 10, 2013
1 parent 148271b commit 340283a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions waf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
local content_length=tonumber(ngx.req.get_headers()['content-length'])
local method=ngx.req.get_method()
if whiteip() then
elseif blockip() then
elseif denycc() then
elseif ngx.var.http_Acunetix_Aspect then
ngx.exit(444)
Expand Down

0 comments on commit 340283a

Please sign in to comment.