Welcome! Log In Create A New Profile

Advanced

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

mex
October 17, 2014 11:36AM
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

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;
}
Subject Author Posted

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

Jake He October 17, 2014 09:52AM

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

mex October 17, 2014 11:36AM

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

Jake He October 17, 2014 08:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 264
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready