I got tired of setting up SSL for every side project, so I made a 60-second Docker deploy kit (opens in new tab)
You know the drill. Your app runs perfectly on localhost:3000. Time to deploy it. So you rent a cheap VPS, SSH in, and then the fun begins: Configure Nginx as a reverse proxy Install Certbot Request a Let's Encrypt certificate Set up a cron job for renewals Debug why the certificate didn't apply Google "nginx ssl redirect loop" at 11pm Two hours later, you still don't have HTTPS working. I've done this dance at least a dozen times. Last week I finally got fed up and packaged the whole thing i...
Read the original article