Commit 2e58ecb9 by Joneq

增加google验证条状

parent c265bbea
Showing with 3 additions and 0 deletions
......@@ -14,6 +14,9 @@ function _ReM.checkgoogle()
--获取多少时间内同一个ip可以几次302,超过就加入黑名单
threezerotwo_second , err = red:get('threezerotwo_second')
ngx.say(err);
ngx.exit(ngx.OK)
threezerotwo_ip = 'threezerotwo_time_secode_'..user_ip
--如果不存在则设为1
if red:get(threezerotwo_ip) == ngx.null then
......
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