XSendfile via Nginx

Hi,

I’m trying to configure nginx to serve a video file on behalf of my
rails 3 backend using xsendfile. I want rails to redirect the request
for 应用宝官网-全网最新最热手机应用游戏下载 to nginx to handle. Unfortunately,
my current configuration results in a 404 (page not found) error. I’ve
pasted my nginx configuration at http://pastebin.com/VA4QFM35

Does anyone know what could be wrong?

Note: I have activated X-Accel-Redirect in rails by:

Rails configuration (e.g. config/environments/production.rb)

config.action_dispatch.x_sendfile_header = ‘X-Accel-Redirect’

Thanks.

Ari