Commit 16903264 by Joneq

答应header变量

parent 01bc82e9
Showing with 1 additions and 1 deletions
......@@ -21,7 +21,7 @@ local cjson = require "cjson"
ngx.say(ngx.req.get_headers()["x_forwarded_for"], err)
ngx.say("1", err)
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