Can nginx automaticly add Content-Type header when there is no 	Can nginx add Content-Type in X-Accel-Redirect?
    张立冰 
    zhang.libing at gmail.com
       
    Fri Apr 17 12:39:46 MSD 2009
    
    
  
看下这个模块对你有没有帮助。
http://wiki.nginx.org/NginxHttpHeadersModule
2009/4/17 Xia Qingran <qingran.xia at gmail.com>
> 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 at 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
>
>
-- 
The time you enjoy wasting is not wasted time!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090417/ab5ebea2/attachment.html>
    
    
More information about the nginx
mailing list