HTTP upstream directives

keepalive_time directive (HTTP upstream)

Upstream context; introduced in 1.19.10. Age limit, default 1h; closes after subsequent request processing, not a hard in-flight deadline.

Formal Syntax & Structure

nginx syntaxnginx
keepalive_time time;

Parameters & Attributes

NameTypeDescription
timedurationConnection-use age budget; closure follows later request processing.

Working Example

Example Snippetnginx
keepalive_time 10m;
Nginx Reference