X-Accel-Redirect and Content-Type

soulodd nginx-forum at nginx.us
Thu Nov 4 23:37:50 MSK 2010

Currently the application that is passing the X-Accel-Redirect uri back
to nginx must set the Content-type header otherwise it will
automatically be set to the default_type setting.  Is there a way to get
nginx to automatically detect the mime settings and transmit it?  I've
tried: fastcgi_ignore_headers Content-Type, but that gave me the error
(taken from

[warn] 3988#1288: invalid value "Content-Type"

Note: I'm using the latest windows build to test on.

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

More information about the nginx mailing list