> Hi,
>
> Deployed the rails app on passenger + nginx. Here is the conf.
>
> server {
> listen 80;
> server_name 21.15.169.24;
> root /vol/www/emclab/current;
> passenger_enabled on;
> rails_env production;
> }
>
>
My nginx configurations have root pointing to the public folder of the rails project:
server {
listen 80;
server_name www.mydomain.com;
root /var/www/railsapp/current/public;
passenger_enabled on;
rails_env production;
}
Have you tried that?
Phillip