Commit 4afd93d2 by Joneq

修改代码

parent a1e6aa7b
Showing with 1 additions and 1 deletions
...@@ -90,7 +90,7 @@ if wafcheck.WhiteIp(user_ip) == 'exist' or wafcheck.WhiteUrl(temp_uri) == 'exist ...@@ -90,7 +90,7 @@ if wafcheck.WhiteIp(user_ip) == 'exist' or wafcheck.WhiteUrl(temp_uri) == 'exist
end end
ngx.say(user_ip)
ngx.say(wafcheck.BlackIp(user_ip)) ngx.say(wafcheck.BlackIp(user_ip))
red:close() red:close()
ngx.exit(ngx.HTTP_FORBIDDEN) ngx.exit(ngx.HTTP_FORBIDDEN)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment