Re: RoR app, “Failed to load resource: the server responded with a status of 404 (Not Found)”

2014-10-17 Thread Jake He
Thank you. I tried. Removed $1, restarted Nginx. But it does not work. Still the same issue. Jake On 17 October 2014 23:36, mex wrote: > iirc you donw need a $1 behind alias like in rewrite-rules > > http://nginx.org/en/docs/http/ngx_http_core_module.html#alias > > the following should work >

RoR app, “Failed to load resource: the server responded with a status of 404 (Not Found)”

2014-10-17 Thread Jake He
Hi, I am running a ruby application on Nginx. It is working fine on Apache. When I try to load the ruby application on Nginx, I get this error: "Failed to load resource: the server responded with a status of 404 (Not Found)" It fails to find two .json files. I had the same issue with Apache before