server blocks configured, but getting "hello world" of nginx

Valentin V. Bartenev vbart at nginx.com
Mon Feb 3 16:53:19 UTC 2014


On Sunday 02 February 2014 09:14:03 Josh Stratton wrote:
> I've followed the tutorial below to setup a couple of server blocks, but I
> get the "Welcome to nginx" message every time.
> 
> https://www.digitalocean.com/community/articles/how-to-set-up-nginx-virtual-hosts-server-blocks-on-ubuntu-12-04-lts--3
> 
> $ ls -l /etc/nginx/sites-available/
> total 8
> -rw-r--r-- 1 root root 1185 Feb  2 17:01 morebearsmore.com
> -rw-r--r-- 1 root root 2744 Feb  2 17:07 strattonbrazil.com
> 
> $ ls -l /etc/nginx/sites-enabled/
> total 0
> lrwxrwxrwx 1 root root 44 Feb  2 17:03 morebearsmore.com ->
> /etc/nginx/sites-available/morebearsmore.com
> lrwxrwxrwx 1 root root 45 Feb  2 16:44 strattonbrazil.com ->
> /etc/nginx/sites-available/strattonbrazil.com
> 
> This is the contents of more of the configs (minus the comments at the
> top).
[..]

What's in your nginx.conf?

  wbr, Valentin V. Bartenev



More information about the nginx mailing list