Welcome! Log In Create A New Profile

Advanced

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

Valentin V. Bartenev
February 04, 2014 09:33AM
On Monday 03 February 2014 12:32:53 Josh Stratton wrote:
> Right, I actually have those lines commented out. That's the part I don't
> understand. For example, if I put everything in the same file (example
> below), neither one of them have a default_server or a wildcard. The only
> other option I see from the link you sent me is www.morebears.com is
> getting "defaulted" by nginx to the hostname. However, I don't know what
> about my server would default to strattonbrazil.com. Based on the below
> settings, I don't see how that should be happening and in my system
> environment I don't see anything like `hostname` that would also direct to
> strattonbrazil.com.
[..]

It's up to your DNS server configuration. Nginx knows nothing about it,
it just receives requests that actually can contain arbitrary host name.

wbr, Valentin V. Bartenev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

Josh Stratton February 04, 2014 09:33AM

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

Valentin V. Bartenev February 04, 2014 09:33AM

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

Josh Stratton February 04, 2014 09:33AM

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

Valentin V. Bartenev February 04, 2014 09:33AM

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

Josh Stratton February 04, 2014 09:33AM

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

Josh Stratton February 04, 2014 09:33AM

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

Josh Stratton February 04, 2014 09:33AM

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

Josh Stratton February 04, 2014 09:33AM

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

Valentin V. Bartenev February 04, 2014 09:33AM

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

Valentin V. Bartenev February 04, 2014 09:33AM

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

Josh Stratton February 04, 2014 09:33AM

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

Valentin V. Bartenev February 04, 2014 09:33AM

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

Josh Stratton February 04, 2014 09:33AM

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

Valentin V. Bartenev February 04, 2014 09:33AM

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

Josh Stratton February 04, 2014 09:33AM

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

Valentin V. Bartenev February 04, 2014 09:33AM

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

Josh Stratton February 04, 2014 09:33AM

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

Valentin V. Bartenev February 04, 2014 09:33AM

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

Josh Stratton February 04, 2014 09:33AM

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

Valentin V. Bartenev February 04, 2014 09:33AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 148
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready