On a second look, you're also missing a server block and screwed up some others... Have a look at http://wiki.nginx.org/FullExample and read the primer at http://blog.martinfjordvald.com/2010/07/nginx-primer/ to get an idea. Regards, John