I am new to ruby and nginx.
This links has some instructions which I followed.
Turns out that ngnix always picks up the index.html from /opt/nginx
and not my application.
This is the server block in my /opt/nginx/nginx.conf
index index.html index.htm;
In my /var/www/myapp/current directory I have the following:
nginx public railsapp
when i type domain.com in the browser, I see “Welcome to nginx”
How to make nginx to point to myappl in /var/www/myapp/current/public