Quick summary
Reverse proxy + HTTPS + renewals — the production baseline for any VPS app.
Proxy to the app
Listen on 80/443, proxy_pass to localhost:3000 (or your container). Do not expose the app port publicly.
Let's Encrypt
Use certbot with the Nginx plugin. Confirm auto-renew timers. Force HTTPS redirects.
Hardening extras
Add basic security headers, enable HTTP/2, and fail with a clear 502 page if upstream is down.
Want personalized career guidance?
Book a free call with NaveenCloud — we help engineers land DevOps and cloud roles.
Book Free Consultation Browse Jobs