lua返回服务器信息
时间:2015-05-14 08:34:45
收藏:0
阅读:175
ngx.header.content_type = "text/plain";
ngx.say(tostring(ngx.var.request_uri));
ngx.say(tostring(ngx.var.host));
ngx.say(tostring(ngx.var.server_port));
ngx.say(tostring(ngx.var.scheme ));

原文:http://www.cnblogs.com/littlehb/p/4502309.html
评论(0)