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.
Xia Q. (Guest)
on 2009-04-17 12: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 Q.
removed_email_address@domain.invalid
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_...
(Guest)
on 2009-04-17 12:45
(Received via mailing list)

http://wiki.nginx.org/NginxHttpHeadersModule

2009/4/17 Xia Q. <removed_email_address@domain.invalid>
This topic is locked and can not be replied to.