Deploy Astro on a VPS with Nginx, PM2 & Let's Encrypt SSL (Node.js Adapter)
Step-by-step guide to deploying Astro on a VPS — Node.js standalone adapter, Nginx reverse proxy, PM2 process manager, and free HTTPS with Let's Encrypt on Ubuntu.
Category
6 posts
Step-by-step guide to deploying Astro on a VPS — Node.js standalone adapter, Nginx reverse proxy, PM2 process manager, and free HTTPS with Let's Encrypt on Ubuntu.
Everything you need to run Node.js apps with PM2 — start, stop, monitor, cluster mode, log management, ecosystem.config.js, startup scripts, and zero-downtime reloads.
Install Certbot, get a free Let's Encrypt certificate, force HTTPS, enable HSTS, and set up auto-renewal on Ubuntu in minutes — for both Nginx and Apache.
Step-by-step guide to deploying Next.js on Apache2 — covers Node.js server mode, static export, reverse proxy config, and SSL/HTTPS setup on Linux.
Step-by-step guide to deploying Next.js on Nginx — configure a reverse proxy, enable gzip compression, set up static file caching, and secure with free Let's Encrypt SSL.