perusio/drupal-with-nginx — Issue #30: Is fastcgi_ignore_headers used correctly?
Author: omega8cc
Created: 2012-02-05 16:59:30+00:00
State: open

Per Nginx docs: http://wiki.nginx.org/HttpFcgiModule#fastcgi_ignore_headers it is used to *ignore* them, not "to deliver untouched from the upstream to the client":

--
This directive forbids processing of the named headers from the FastCGI-server reply. It is possible to specify headers like "X-Accel-Redirect", "X-Accel-Expires", "Expires" or "Cache-Control".
--

This means also that by adding Set-Cookie to this list, you could easily break the setup, since this header shouldn't be ignored. However, it appears that it is not supported in fastcgi_ignore_headers, so it may go unnoticed.