[edit] proxy_ignore_headers

Syntax: proxy_ignore_headers field ...
Default:
Context: http
server
location
Reference: proxy_ignore_headers


Prohibits the processing of the header lines from the proxy server's response.

It can specify the string as "X-Accel-Redirect", "X-Accel-Expires", "Expires", "Cache-Control" or "Set-Cookie". By default, nginx does not caches requests with Set-Cookie.


Module: HttpProxyModule