Displaying 1 result from an estimated 1 matches for "va4qfm35".
2012 May 07
0
XSendfile via Nginx
...deo file on behalf of my
rails 3 backend using xsendfile. I want rails to redirect the request
for http://myapp.com/recipes/1/video 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
--
Posted via http://www.ruby-forum.com/.
--...