Serve dynamic SSL certificates in Nginx

Posted on August 5, 2015

So I’ve been working on a way to serve dynamic SSL certificates from Nginx. The use case here is that you have a certain number of websites that you want to serve¬†over HTTPS from the same servers, but you don’t want to have to update your Nginx config every time you have a new addition. After a few days of hitting walls, I’ve come up with a pretty good solution.