Welcome! Log In Create A New Profile

Advanced

Re: Nginx not detecting the root location from config for Rails 3.2 app

March 27, 2014 01:18AM
"root" needs to point to the /public directory of your Rails app. And I don't think you need to use passenger_base_uri

My nginx using passenger config looks like:

server {
listen 80;
server_name XXXXXX;
root /home/deploy/apps/wtca/current/public;
passenger_enabled on;
Subject Author Posted

Nginx not detecting the root location from config for Rails 3.2 app

emclab March 26, 2014 10:37PM

Re: Nginx not detecting the root location from config for Rails 3.2 app

SupaIrish March 27, 2014 01:18AM

Re: Nginx not detecting the root location from config for Rails 3.2 app

emclab March 27, 2014 01:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 221
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready