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

NameTypeDescription
fieldHTTP response field nameAllow a response field normally filtered by the proxy.

Working Example

Example Snippetnginx
proxy_pass_header Date;
Nginx Reference