Odd server_name directive behavior
CJ Ess
zxcvbn4038 at gmail.com
Mon Aug 10 22:13:53 UTC 2015
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150810/564eedd5/attachment.html>
More information about the nginx
mailing list