Example case. I have a web-server with one IPV4 address. I am hosting ~50 web sites and just two of them have ssl certificates. I have configured vhosts for 2 ssl websites and everything is OK, except one big problem - if i visit other 48 sites using https:// prefix (they don't have ssl certificates), i am seeing my latest website with a SSL certificate.
It is possible to prevent https prefix on non SSL websites? Or there's just one solution - to use dedicated ip addresses. If i have dedicated ip address i am using the following config:
listen 111.222.333.444:443 ssl;
This way, if i force https on non SSL website - nothing happens.