Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 802 Bytes

README.md

File metadata and controls

46 lines (33 loc) · 802 Bytes

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;
        }
    }
}