Now you can use http://example.com/site1 and http://example.com/site2 and the same for https.

If you start using different ports (anything other than the defaults 80 and 443, you need to explicitly write the port names to be able to access the sites, or set up a reverse proxy (adds extra complexity with no real gain).