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

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,

[email protected](B
Xia Q.
[email protected]
Sent from Beijing, 11, China
Mitch Hedberg - "I drank some boiling water because I wanted to
whistle." -

çœ‹ä¸‹è¿™ä¸ªæ¨¡å—å¯¹ä½ æœ‰æ²¡æœ‰å¸®åŠ©ã€‚

http://wiki.nginx.org/NginxHttpHeadersModule

2009/4/17 Xia Q. [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs