HTTP directives
ignore_invalid_headers directive (HTTP)
Retain the normal invalid-header filtering policy; coordinate name rules with underscores_in_headers. Default server settings may apply. Context: http, server. Documented default: on. Version: Introduction not established. OSS documentation; check target build. Example is a partial http configuration fragment; use a disposable lab, not a production tuning prescription.
Formal Syntax & Structure
nginx syntaxnginx
ignore_invalid_headers on | off;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| state | on | off | Select whether this behavior is enabled. |
Working Example
Example Snippetnginx
ignore_invalid_headers on;