X-Accel-Redirect not passing Content-Type?

michael nginx-forum at nginx.us
Wed Apr 8 02:34:40 MSD 2009


Are you setting Content-Type before X-Accel or after? I was just testing X-Accel and ran into the same issue. Turns out I applied Content-Type prior to X-Accel and it worked. 

Per the documentation (or a mailing list post somewhere) X-Accel *inherits* Content-Type, so I'd imagine if the server received an X-Accl before Content-Type, the Content-Type would've been "determined" already...

-Michael

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






More information about the nginx mailing list