nginx picks default index.html
lists at ruby-forum.com
Fri Jul 17 19:57:26 MSD 2009
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
Posted via http://www.ruby-forum.com/.
More information about the nginx