11 2012 档案

摘要:一、下载luajit 2.0http://luajit.org/download.html二、下载nginx源代码http://www.nginx.org/en/download.html三、下载nginx_devel_kithttps://github.com/simpl/ngx_devel_kit/tags四、下载lua-nginx-modulehttps://github.com/chaoslawful/lua-nginx-module/tags五、先安装luajitmake & make install六、设置环境变量:export LUAJIT_LIB=/usr/local/ 阅读全文
posted @ 2012-11-26 19:18 ybtyoyo 阅读(809) 评论(0) 推荐(0)
摘要:1、编译时带上--with-http_stub_status_module模块./configure--with-http_stub_status_module2、nginx.conf增加配置location /status { stub_status on; }3、在浏览器上输入http://ip/status查看nginx的状态Active connections: 1 server accepts handled requests 57 57 57 Reading: 0 Writing: 1 Waiting: 0 阅读全文
posted @ 2012-11-02 14:56 ybtyoyo 阅读(924) 评论(0) 推荐(0)