Stream Limit Conns
Method GET

Return status of an stream limit_conn zone

Returns status of a particular stream limit_conn zone.

get/stream/limit_conns/{streamLimitConnZoneName}

Query parameters

fieldsstring

Limits which fields of the limit_conn zone will be output.

Response

Success

passedinteger

The total number of connections that were neither limited nor accounted as limited.

rejectedinteger

The total number of connections that were rejected.

rejected_dry_runinteger

The total number of connections accounted as rejected in the <a href="https://nginx.org/en/docs/stream/ngx_stream_limit_conn_module.html#limit_conn_dry_run">dry run</a> mode.

Example response

{
  "passed": 15,
  "rejected": 0,
  "rejected_dry_run": 2
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.