Hugo on KVM: Installing an Ubuntu VM for a Static Site
In short
Progressive migration from Grav CMS to Hugo — a static site generator. The goal is to isolate Hugo in a dedicated KVM VM on the NUC8i3BEH, with nginx on the host as a reverse proxy. The generated static site is served by nginx inside the VM — no PHP, no database, no application attack surface.
- 🖥️ Host: NUC8i3BEH Ubuntu 24.04 — nginx proxy + KVM
- 🗄️ VM disk: Samsung X5 external NVMe (exFAT → ext4 loop image)
- 🌐 Access: hugo-test.arleo.eu
- 🎨 Theme: LoveIt
🧠 Why
Grav CMS is excellent but relies on PHP — a non-negligible attack surface. Hugo generates pure static HTML: no PHP, no database, no application vulnerability. Performance is also radically better — HTML is served directly by nginx without dynamic processing.





