Forum: NGINX Can nginx automaticly add Content-Type header when there is no Can nginx add Content-Type in X-Acce

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8a178ad712b49bd3d8031e00dfe1e3fd?d=identicon&s=25 Xia Qingran (Guest)
on 2009-04-17 10:41
(Received via mailing list)
Hi,
Can nginx automaticly add Content-Type header when there is no
Content-Type header in backend response with X-Accel-Redirect?

I am taking use of X-Accel-Redirect to do the privacy control for
static files. And I have to add the Content-Type header by the backend
CGI programs. If nginx could do so, the backend CGI programs using
X-Accel-Redirect will feel much better and more efficient.


Regards,
--
夏清然
Xia Qingran
qingran.xia@gmail.com
Sent from Beijing, 11, China
Mitch Hedberg  - "I drank some boiling water because I wanted to
whistle." -
http://www.brainyquote.com/quotes/authors/m/mitch_...
73ad028341c045f423691da9dae1be53?d=identicon&s=25 (Guest)
on 2009-04-17 10:45
(Received via mailing list)

http://wiki.nginx.org/NginxHttpHeadersModule

2009/4/17 Xia Qingran <qingran.xia@gmail.com>
This topic is locked and can not be replied to.