...
|
...
|
@@ -106,7 +106,7 @@ function check_malIp() |
|
|
local exist = cache:get("yh:mip:" .. ip)
|
|
|
|
|
|
if exist then
|
|
|
ngx.log(ngx.ERR, "[LimitIPAccess:ip]:" .. ip )
|
|
|
ngx.log(ngx.ERR, "[IP BLOCKED]:" .. ip )
|
|
|
|
|
|
ngx.header["x-yoho-malicode"]="10011"
|
|
|
local rsp ='{"code": 10011, "message": ""}'
|
...
|
...
|
|