If you&#x27;re open to using OpenResty (basically nginx with some additional plugins and Lua integration), I&#x27;ve coincidentally been working on a plugin to make all of this completely automatic with Let&#x27;s Encrypt (taking advantage of the relatively new ssl_certificate_by_lua functionality OpenResty provides): <a href="https:&#x2F;&#x2F;github.com&#x2F;GUI&#x2F;lua-resty-auto-ssl" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;GUI&#x2F;lua-resty-auto-ssl</a> We just rolled it out to our first production site last week, but any feedback would be welcome.