HTTP directives
early_hints directive (HTTP)
Gate forwarding of upstream HTTP 103 informational responses; zero keeps forwarding disabled for the lab. Context: http, server, location. Documented default: none. Version: 1.29.0. OSS documentation; check target build. Does not generate preload links by itself. Example is a partial http configuration fragment; use a disposable lab, not a production tuning prescription.
Formal Syntax & Structure
nginx syntaxnginx
early_hints string ...;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| string | expression (repeatable) | Forward when at least one evaluated value is not empty or zero. |
Working Example
Example Snippetnginx
early_hints 0;