ngx_realtime_request
is nginx
module which adds ability to count tranffic
from vhost.
This module is production-ready and it's compatible with following nginx releases:
- 1.3.x (tested with 1.3.6 to 1.3.15).
- syntax:
realtime_zonesize size
- default:
4m
- context:
http
Sets slab size.
- syntax:
realtime_request [on/off]
- default:
none
- context:
location
Sets area that show the statistics.
http {
realtime_zonesize 16m;
server {
location ~ /rt_status {
realtime_request on;
}
}
}