DEV Community

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
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help