HTTP directives

keepalive_disable directive (HTTP)

Legacy browser-specific persistent-connection exceptions. Use none in a controlled modern-client lab rather than assuming this sets the idle timeout. Context: http, server, location. Documented default: msie6. Version: Introduction not established. OSS documentation; check target build. Safari matching behavior changed in 1.1.18. Example is a partial http configuration fragment; use a disposable lab, not a production tuning prescription.

Formal Syntax & Structure

nginx syntaxnginx
keepalive_disable none | browser ...;

Parameters & Attributes

NameTypeDescription
selectionnone | msie6 | safari (browser list)Choose compatibility exceptions or remove browser exclusions.

Working Example

Example Snippetnginx
keepalive_disable none;
Nginx Reference