Hi Maxim,
Thanks very much for the reply!
[quote]nginx preserves only some specific headers (Set-Cookie and so on)
on X-Accel-Redirect.[/quote]
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! :)