容器技术交流

 找回密码
 立即注册
查看: 3771|回复: 2

Nginx 状态监控配置 为什么出错

[复制链接]
发表于 2009-10-22 22:54:07 | 显示全部楼层 |阅读模式
我在第一个虚拟主机里加上以下代码
  location ~ ^/NginxStatus/ {
     stub_status on; #Nginx 状态监控配置
     access_log off;
  }
出错 unknown directive "stub_status" in
 楼主| 发表于 2009-10-22 22:55:20 | 显示全部楼层
我在网上看说是缺少stub_status_module 这个模块。
问下执行什么命令安装??
发表于 2009-10-23 19:17:33 | 显示全部楼层
nginx.sh    #增加状态监控支持
--with-http_stub_status_module \
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2025-5-11 07:59 , Processed in 0.034754 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表