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/
阅读全文
摘要: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
阅读全文
浙公网安备 33010602011771号