HTTP状态管理(http_stub_status_module)
配置语法
http_stub_status_module
语法
stub_status
默认
---
作用域
server,location
例子:
# 配置一个匹配规则,当访问当url是 /mystatus 就返回 stub_status
location /mystatus {
stub_status;
}
# 前台显示:
# Active connections: 2
# server accepts handled requests
# 9 9 40
# Reading: 0 Writing: 1 Waiting: 1
Last updated