X-Sendfile Header

Igor Sysoev is at rambler-co.ru
Thu Nov 8 10:14:00 MSK 2007


On Wed, Nov 07, 2007 at 10:58:24PM -0800, Alex Egg wrote:

> Does nginx support the concept of the X-Sendfile header described here:
> 
> http://wiki.rubyonrails.org/rails/pages/HowtoSendFilesFast
> 
> ???
> 
> My problem is that I'm sending a file to an iphone with rails
> (send_file) but I guess mongrel doesn't support byte-range requests.
> But I know nginx does...

nginx supports more general concept - X-Accel-Redirect:
http://wiki.codemongers.com/NginxXSendfile


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list