Welcome! Log In Create A New Profile

Advanced

Can nginx automaticly add Content-Type header when there is no Can nginx add Content-Type in X-Accel-Redirect?

Xia Qingran
April 17, 2009 04:33AM
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_hedberg.html
Subject Author Posted

Can nginx automaticly add Content-Type header when there is no Can nginx add Content-Type in X-Accel-Redirect?

Xia Qingran April 17, 2009 04:33AM

Re: Can nginx automaticly add Content-Type header when there is no Can nginx add Content-Type in X-Accel-Redirect?

张立冰 April 17, 2009 04:39AM

Re: Can nginx add Content-Type in X-Accel-Redirect?

Xia Qingran April 17, 2009 04:54AM

Re: Can nginx add Content-Type in X-Accel-Redirect?

张立冰 April 17, 2009 09:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 281
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready