Deploying Astro on a VPS with Nginx (Node.js Adapter)
A step-by-step guide to deploying an Astro site on a VPS using the Node.js standalone adapter and Nginx as a reverse proxy, with PM2 process management and Let's Encrypt SSL.
Category
6 posts
A step-by-step guide to deploying an Astro site on a VPS using the Node.js standalone adapter and Nginx as a reverse proxy, with PM2 process management and Let's Encrypt SSL.
A complete guide to PM2 for Node.js applications — starting, stopping, monitoring, clustering, log management, ecosystem config files, and surviving server reboots.
A complete guide to obtaining and auto-renewing free TLS certificates from Let's Encrypt using Certbot on Ubuntu, for both Nginx and Apache — including HTTP-to-HTTPS redirects, HSTS, and troubleshooting.
A comprehensive guide to deploying your Next.js application on a server running Apache2, covering both standard Node.js and static export deployments with SSL.
A comprehensive guide to deploying your Next.js application on a server running Nginx, covering reverse proxy setup, gzip compression, static caching, and SSL configuration.