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

NameTypeDescription
timedurationValue for keepalive time.

Working Example

Example Snippetnginx
keepalive_time 15m;
Nginx Reference