HTTP directives
proxy_pass_header directive (HTTP)
Contexts: http, server, location. No explicit default directive. Permits a response field that proxy filtering would otherwise suppress.
Formal Syntax & Structure
nginx syntaxnginx
proxy_pass_header field;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| field | HTTP response field name | Allow a response field normally filtered by the proxy. |
Working Example
Example Snippetnginx
proxy_pass_header Date;