Pass headers from FastCGI backend to client while X-Accel-Redirect

riobard nginx-forum at nginx.us
Fri Apr 23 04:29:04 MSD 2010


Hi Maxim,

Thanks very much for the reply! 

nginx preserves only some specific headers (Set-Cookie and so on)
on X-Accel-Redirect.

I was wondering why it has to be this way? It makes life quite difficult because I need some fine-grained control over the headers returned from the backend to the client. I cannot really set all of them in nginx.conf, because many are application-specific. Any idea? Again, thanks very much! :)

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,78024,78275#msg-78275




More information about the nginx mailing list