Odd server_name directive behavior

Valentin V. Bartenev vbart at nginx.com
Tue Aug 11 07:27:57 UTC 2015

On Monday 10 August 2015 18:13:53 CJ Ess wrote:
> I have an nginx 1.9.0 deploy and I noticed a working config where the name
> given to the server_name directive doesn't match the names in the Host
> headers or the certificate DNs. It looks like a mistake, but it works, and
> I don't know why! Is it possible that if there is only one server stanza
> that nginx doesn't bother comparing the name and just processes the request
> via the only stanza defined?


  wbr, Valentin V. Bartenev

More information about the nginx mailing list