Nginx - enable nginx status
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Включаем nginx_status:
# vi /etc/nginx/vhosts/my_site.com добавляем location {}: location /nginx_status { stub_status on; access_log off; allow 78.xx.xx.xx; deny all; }
где 78.xx.xx.xx - Ваш IP. Заходим по http://my_site.com/nginx_status
Пример статистики:
Active connections: 387 server accepts handled requests 18295 18295 73460 Reading: 0 Writing: 16 Waiting: 371