def -c img log and nginx -t ont pts 打开
官方模块和第三方模块
1、--with-http_stub_status_module:nginx的客户端状态
http_stub_status_module配置
语法:stub_status;
内容:server、location
打开文件/etc/nginx/conf.d/default.conf
检查配置语法
- nginx - tc / etc / nginx / nginx.conf
重载服务
- nginx - s reload - c / etc / nginx / nginx.conf
打开浏览器访问
http://192.168.137.11/mystatus
上面图片中内容介绍
nginx模块
来源: http://www.bubuko.com/infodetail-2381872.html