Express.js App Setup


Can anyone offer a step-by-step guide to setting up LetsEncrypt to work with an Express JS app?


FWIW I ended up using Nginx as a reverse proxy to my Node app and let Nginx handle the SSL in conjunction with LetsEncrypt. Mainly followed this article for the Nginx configuration along with a fair bit of trial and error and scouring of other posts here.


I think these days you would just use certbot directly for something like this. There’s tons of configuration recipes availabe here:

I’d look at the bottom at one of the “None of the Above” options, which use certbot certonly flavors. Good luck!