Setting Up Hugo with NGINX on LXC

This guide walks you through deploying a Hugo static site using the PaperMod theme, hosted on an unprivileged LXC container running NGINX. This version includes a manual installation of Hugo via .deb for full control over the version. ๐Ÿ“ Prerequisites Proxmox or any hypervisor Ubuntu 22.04 LXC (unprivileged) A non-root user with sudo privileges ๐Ÿ› ๏ธ Step 1: Install Required Dependencies sudo apt update && sudo apt install -y curl wget git nginx ๐Ÿ“† Step 2: Install Hugo Manually (v0.147.8) wget https://github.com/gohugoio/hugo/releases/download/v0.147.8/hugo_0.147.8_linux-amd64.deb chmod +x hugo_0.147.8_linux-amd64.deb sudo dpkg -i hugo_0.147.8_linux-amd64.deb hugo version ๐Ÿ  Step 3: Create Your Hugo Site ...

June 10, 2025