Issue with VirtualHost definition order and SNI SSL

Linmiao Xu linmiao.xu at
Sat Oct 10 04:44:07 MSD 2009

Yes, should be built with SNI support (--with-http_ssl_module and
--with-openssl=/usr/src/openssl-0.9.8k). I used 0.7.62 and 0.8.19 and both
gave me the same result. I compiled both with OpenSSL 0.9.8k, which has SNI.
Before, when I used 0.9.8e (latest version in CentOS 5.3), every virtual
host would use the same certificate (no SNI). Browser is Firefox 3.5.3 which
also supports SNI.

The strange part is how it looks like SNI is enabled if I include the TLD
virtual host first, but isn't enabled if the alias is included first. Do you
need more information?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list