<div dir="ltr"><div><div><div><div><div>I use nginx to host multiple websites, and one of them has a valid SSL certificate. I've noticed recently (from early November 2012 according to Google Webmaster Tools), that if I make an SSL connection to one of the sites which does not have a valid SSL cert, I get the content of the site that does.<br>

<br></div>That is, is <a href="http://example.com">example.com</a> has the SSL cert, and I host <a href="http://example2.com">example2.com</a> without, if I go to <a href="https://example2.com">https://example2.com</a> I will get the homepage for <a href="http://example.com">example.com</a>.<br>

<br></div>This is despite the fact that the configuration file for <a href="http://example2.com">example2.com</a> doesn't have anything concerning SSL in it (not even listening on port 443), and the configuration file for <a href="http://example.com">example.com</a> doesn't have anything concerning <a href="http://example2.com">example2.com</a>.<br>

<br></div>If configuration files are needed, I can provide them. However this was definitely not an issue before November. I suspect it started happening after I upgraded to the latest stable release of nginx.<br><br></div>

Any help is appreciated.<br></div></div>