kong.nginx
kong.nginx
Nginx information module A set of functions allowing to retrieve Nginx-specific implementation details and meta information.
kong.nginx.get_subsystem()
Returns the current Nginx subsystem this function is called from: “http” or “stream”.
Phases
- any
Returns
string
subsystem Either"http"
or"stream"
Usage
kong.nginx.get_subsystem() -- "http"