In Windows IIS, you can have multiple sites using ports 80,443 if you define a host header, eg, a.example.com, b.example.com.
I’d like to be able to access internal services from the internet without specifying a port, and in some cases force the use of https. Some of these services are windows, other Ubuntu. If I were to setup ngnix (either on the same box as hassio or not) I’d like to be able to have the following redirects occur:
http://hassio.example.com -> https://hassio.example.com
http://ide.example.com -> https://ide.example.com
Assuming I can get ngnix doing these redirects, what would need to be done in hassio? While you can use the base_url option to specify the origin URL, how do you address the fact that hassio and ide each use different ports? I suppose I could have ngnix just handle the port for me, but it would be nice to have a “clean” look about it.