小智 5
抱歉撞到旧帖子,但现在您可以使用此模块查看每个虚拟主机的流量状态
https://github.com/vozlt/nginx-module-vts
您需要手动重新编译您的 nginx,并将此块添加到您的站点配置中
location /status {
vhost_traffic_status_display;
vhost_traffic_status_display_format html;
}
Run Code Online (Sandbox Code Playgroud)