client_lifetime

client_lifetime

This timeout specifies the maximum amount of time for a client connection. In most cases, client connections should never last longer than a few hours. Long-lived client connections may be the result of a network outage, user-agent bugs, or mischievous activity.

Syntax

client_lifetime time-specification

Default

client_lifetime 1 day

Example

client_lifetime 3 hours

Related

read_timeout



    Appendix A. Config File Reference