Automagical HTTPS with Docker and Go
HTTPS sites is pretty common nowadays. and you don’t want chrome to flag your site as not insecure in location bar, right?
So if you need to serve your go application over HTTPS. A common way of quickly achieving this goal was by utilising Let’s Encrypt, however it’s a little too fiddly to setup, renew certifcates later. it would be to automate all process entirely, including downloading certificate, certificate renewal….
[Brendan] writes a nice article about this.
I’ve tried it in my project, it’s perfect. highly recommond to read it.