首页 > 其他 > 详细

lua返回服务器信息

时间:2015-05-14 08:34:45      阅读:175      评论:0      收藏:0      [点我收藏+]

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 ));

 

技术分享

lua返回服务器信息

原文:http://www.cnblogs.com/littlehb/p/4502309.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!