2026-11-28
Infrastructure & Self-Hosting
Draft
Self-Hosting plopli.eu Without Third-Party CDNs or Trackers
Draft architectural notes on how plopli.eu is built with Hugo, auto-deployed via Git hooks, and served behind dual-edge reverse proxies with DNSSEC and automated observability.
Draft Note: This post outlines the sanitized architecture behind
plopli.eu. Private internal network addresses, hostnames, and unrelated domains are intentionally omitted.
Why Static Hugo + Self-Hosted Edge Proxies?
For an open-hardware documentation and CAD showcase, the web stack should get out of the way:
- Zero runtime attack surface on the origin: Hugo compiles Markdown, templates, fingerprinted CSS, and WebP/PNG renders into pure static files — no PHP, no database, no CMS admin login exposed to the internet.
- Zero third-party dependencies: No Google Fonts, no external JS frameworks, no analytics beacons, and no cookie banners. Every byte served by
plopli.eucomes directly from first-party storage. - Origin isolation: Public traffic never reaches the origin directly. Two geographically separate edge reverse proxies terminate TLS (
HTTP/2andHTTP/1.1), enforce strict path filtering and rate/intrusion rules (Fail2Ban+ stateful firewalling), and forward requests to the origin over an encrypted VPN + OSPF transit backbone.
Request & Deployment Flow
[Git Push to Private Forge]
│ (post-receive hook runs hugo --gc --minify)
▼
[Origin Static Root (/var/www/...)]
▲
│ HTTP over encrypted VPN + OSPF transit (taint-header validated)
│
[Dual Edge Reverse Proxies (TLS 1.2/1.3 ECDSA + HSTS + CSP)]
▲
│ Round-robin A/AAAA + DNSSEC (ECDSA P-256)
│
[Public Visitors]
1. Authoritative DNS & DNSSEC
- Split-horizon BIND9 serves public
A/AAAArecords from the external view while keeping internal management endpoints invisible outside the private network. - Zones are signed with automated DNSSEC (
ECDSA P-256) and replicated to secondary edge nameservers using zone transfers and catalog zones. - Domain variants (
plopli.de,plopli.fr,plopli.be) permanently301-redirect at the edge to the canonicalhttps://plopli.euURL.
2. Automated TLS & Security Headers
- Edge proxies terminate HTTPS with Let’s Encrypt
ECDSAcertificates issued via automatedDNS-01(RFC 2136) challenges so renewal requires no inbound HTTP challenge openings. - Responses include strict transport and static-asset hardening (
Strict-Transport-Security,X-Content-Type-Options: nosniff,Referrer-Policy,Content-Security-Policy, and immutable caching for fingerprinted CSS/JS/WebP assets). - Internal documentation paths remain blocked (
404) at the edge proxies and additionally denied at the origin if a request arrives carrying the edge proxy taint header.
3. Git post-receive Auto-Deploy & Observability
- Pushing to
maintriggers a server-sidepost-receivehook that builds the Hugo site cleanly and syncs static output (0755directories /0644files) to the Apache origin document root. - End-to-end health, TLS certificate expiry, HTTP status codes, and proxy latency are monitored via Prometheus + Alertmanager + Grafana, paired with centralized Loki log shipping.
Questions or feedback?
Reach out at plopli@plopli.eu or browse CAD/KiCad work on GitHub (@Plopli).