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

mex nginx-forum at
Fri Oct 17 15:36:29 UTC 2014

iirc you donw need a $1 behind alias like in rewrite-rules

the following should work

location /wifi  {
    alias /var/www/owums/public; # <-- be sure to point to 'public'!
    passenger_base_uri /wifi;
    passenger_app_root /var/www/owums;
    passenger_document_root /var/www/owums/public;
    passenger_enabled on;
    passenger_app_env development;

Posted at Nginx Forum:,254102,254110#msg-254110

More information about the nginx mailing list