Deploying Hugo on Cloudflare Pages and Workers

Overview This post summarizes the full workflow we followed to move the Vel Tech Blog onto Cloudflare Pages with optional Cloudflare Workers integrations. 1. Configure Hugo locally 1 2 3 4 5 6 # Install Hugo extended 0.146 or later wget https://github.com/gohugoio/hugo/releases/download/v0.146.0/hugo_extended_0.146.0_Linux-64bit.tar.gz sudo tar -C /usr/local/bin -xzf hugo_extended_0.146.0_Linux-64bit.tar.gz hugo # Verify hugo version 2. Update the Hugo project Enable buildFuture = true so future-dated posts show up. Customize the PaperMod profile block (LinkedIn avatar, subtitle, post list). Add layouts/index.html to render the profile followed by all posts on the homepage. 3. Deploy with Cloudflare Pages Push the changes to GitHub. In Cloudflare Pages, set HUGO_VERSION=0.146.0. Pages automatically builds and deploys every commit. 4. Optional: Cloudflare Workers Use Workers to add caching, redirects, or dynamic APIs if needed. ...

January 24, 2026 · 1 min · 145 words · Vel Tech

Setting Up Cloudflare Zero Trust Tunnel for SSH and HTTP

Introduction Cloudflare Zero Trust Tunnel (formerly Argo Tunnel) allows you to securely expose your services to the internet without opening any inbound ports. This guide covers setting up cloudflared for both SSH and HTTP tunneling. Why Use Cloudflare Tunnel? No open ports - Your server has no public-facing ports Zero Trust security - Authenticate users before they reach your service DDoS protection - Traffic flows through Cloudflare’s network No public IP needed - Works behind NAT or firewalls Prerequisites A Cloudflare account A domain added to Cloudflare A Linux server (Ubuntu/Debian in this guide) Step 1: Install cloudflared 1 2 3 4 5 6 # Download and install cloudflared curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb sudo dpkg -i cloudflared.deb # Verify installation cloudflared --version Step 2: Authenticate with Cloudflare 1 cloudflared tunnel login This opens a browser to authenticate. Select your domain and authorize the connection. A certificate is saved to ~/.cloudflared/cert.pem. ...

January 24, 2026 · 4 min · 650 words · Vel Tech