HTTP directives
add_trailer_inherit directive (HTTP)
Change parent-to-child trailer list inheritance. Default on preserves standard replace-on-local-definition rules; off drops inherited entries; merge combines parent and local entries. The inheritance setting itself propagates down the configuration tree unless overridden. Contexts: http, server, location, if in location. Version: 1.29.3. Requires newer HTTP headers implementation. Example: partial location configuration for a disposable synthetic lab; not a complete deployment.
Formal Syntax & Structure
nginx syntaxnginx
add_trailer_inherit on | off | merge;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| mode | on | off | merge | Choose standard inheritance, no parent list or combined lists. |
Working Example
Example Snippetnginx
add_trailer_inherit merge;add_trailer X-Lab-Complete yes;