HTTP directives
keepalive_time directive (HTTP)
Limit the reuse lifetime; after reaching it, closure follows subsequent request processing. Not the idle timeout. Context: http, server, location. Documented default: 1h. Version: 1.19.10. OSS documentation; check target build. Example is a partial http configuration fragment; use a disposable lab, not a production tuning prescription.
Formal Syntax & Structure
nginx syntaxnginx
keepalive_time time;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| time | duration | Value for keepalive time. |
Working Example
Example Snippetnginx
keepalive_time 15m;