ngx_realtime_request_module icon indicating copy to clipboard operation
ngx_realtime_request_module copied to clipboard

Deprecated: please use tengine ngx_http_reqstat_module.

About

ngx_realtime_request is nginx module which adds ability to count tranffic from vhost.

Status

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).

Configuration directives

realtime_zonesize

  • syntax: realtime_zonesize size
  • default: 4m
  • context: http

Sets slab size.

realtime_request

  • syntax: realtime_request [on/off]
  • default: none
  • context: location

Sets area that show the statistics.

Sample configuration

http {
    realtime_zonesize  16m;

    server {
        location ~ /rt_status {
            realtime_request on;
        }
    }
}