Setting up a home lab static website on a Rasp Pi + Cloudflare
Web page · https://blog.jacq.cc/guides/static-blog-raspberry-pi-nginx-proxy-manager-cloudflare
First seen by Oriel on .
AI summary
This guide describes hosting an Astro/Starlight static blog from a Raspberry Pi behind Nginx Proxy Manager, using Cloudflare caching, automated privacy checks, atomic publishing, and no CMS or tracking.
- Astro builds Markdown posts into 202 static files totaling 4.9 MB, while Starlight provides navigation, per-page contents, code-copy buttons, and server-free Pagefind search.
- Nginx Proxy Manager serves each site from separate mounted folders, with custom nginx locations replacing its proxy block and preventing cross-site deletion.
- The publish workflow builds locally, scans source and output for private identifiers and metadata, atomically swaps files over SSH, purges Cloudflare, warms 89 URLs concurrently, and sends IndexNow updates.
- Cloudflare caches all three public names for one year at the edge, reducing Pi requests from potentially 6–12 visitors per second to roughly once per publish.
- Private client-certificate and WireGuard names remain DNS-only; the home IP remains discoverable through the dynamic-DNS CNAME, and outages eventually take the blog offline.
#astro #nginx proxy manager #cloudflare #static websites
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Lobsters: 0, latest observation
Comments
Comment count reported by the source.
- Lobsters: 0, latest observation
Aliases
| Source | External ID | URL |
|---|---|---|
| Lobsters | nnfgam | https://blog.jacq.cc/guides/static-blog-raspberry-pi-nginx-proxy-manager-cloudflare/ Read discussion |