Commit 1dedc0e4 by Joneq

修改代码

parent bfbf1dd8
Showing with 1 additions and 0 deletions
...@@ -80,6 +80,7 @@ ngx.say(user_ip) ...@@ -80,6 +80,7 @@ ngx.say(user_ip)
ngx.say(is_exist) ngx.say(is_exist)
ngx.say(err) ngx.say(err)
ngx.exit(ngx.HTTP_FORBIDDEN) ngx.exit(ngx.HTTP_FORBIDDEN)
return
-- 获取请求头 -- 获取请求头
u_agent = ngx.req.get_headers().user_agent u_agent = ngx.req.get_headers().user_agent
......
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