Deployment: Hetzner + nginx + Let's Encrypt

Deploy static Astro site to Hetzner VPS with manual rsync, and let's encrypt HTTPS

Context

Here everything is pretty simple. I have bought a domain and set up Hetzner VPS and the goal was to deploy this site. I have also set up the very basic firewall on Hetzner to just allow ports 22, 80 and 443. I went full manual path for now. Namely, I’ve set up nginx and deploy via rsync from my laptop to the server. Another thing was setting up HTTPS via Let’s Encrypt and certbot. Here Claude was acting mainly as my mentor. Every step was verified and performed by me.

What I delegated

Nothing. AI was acting as a mentor here

How I verified

Site is live on https://www.bunyatov.dev with HTTPS working, DNS resolving and all pages accessible.