There are several options for running the on-premises installation over HTTPS, including:

If, after configuring HTTPS, you find that the on-premises installation is still trying to use some HTTP URLs or the web pages don't look right (e.g. styles are not loading correctly, images are oversize, etc), you will likely need to configure the structurizr.url property - see On-premises installation - Configuration for details.