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

SupaIrish nginx-forum at
Thu Mar 27 05:18:40 UTC 2014

"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;

Posted at Nginx Forum:,248743,248744#msg-248744

More information about the nginx mailing list