Rails XSendfile via Nginx
lists at ruby-forum.com
Wed May 9 02:58:55 UTC 2012
Jonathan Matthews wrote in post #1059929:
> On 8 May 2012 00:16, Jonathan Matthews <contact at jpluscplusm.com> wrote:
>> screwy, if the examples you've given are precise.
> I forget step #0: examine the error log! It'll tell you where nginx is
> failing to find your file, hence what the config problem might be ...
> Jonathan Matthews
> Oxford, London, UK
Prior to asking my original question, I checked my error.log and found
no errors whatsoever. I also tried using curl, but the content returned
is a Nginx 404 error page. Any other ideas? I also doubled checked my
alias configuration; as per nginx docs, location & alias take regex
expressions and captures. My hunch is that the url is the problem
(/recipes/1/video) since it does NOT contain the filename.
Posted via http://www.ruby-forum.com/.
More information about the nginx