Here is a great tutorial for setting up a reverse proxy for webservers.
Kudos to Tyler and the Ajenti project.
- As of 2018-07-10, Ajenti didn’t work on Ubuntu 18.04, a dependency was broken.
- I setup the cert for site1.domain.com, then site2.domain.com complained it was using site1’s cert, until I ran certbot and gave site2 it’s own cert. Then everything was working.