Your config should look like that:
location / {
root /usr/local/nginx/html/$host;
index index.html index.htm;
}
So that you want ever have to touch the configuration file even if new
sites get created. It's the easiest but there are drawbacks, if you can
spot them.
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx