Hosting DokuWiki on FreeBSD with Bastille, nginx, and Caddy
A small, database-free DokuWiki deployment in a FreeBSD 15.1 Bastille jail, with nginx and PHP-FPM inside the jail and Caddy handling TLS and access policy at the edge.
I’m Christian: Senior Consultant by day, FreeBSD person by conviction. Hands-on writeups about jails, BGP, self-hosting and Linux, all from infrastructure I actually run.
A small, database-free DokuWiki deployment in a FreeBSD 15.1 Bastille jail, with nginx and PHP-FPM inside the jail and Caddy handling TLS and access policy at the edge.
Patching FreeBSD machines inside the DN42 overlay network without giving them clearnet access - a dual-homed VM that lazily caches pkg.freebsd.org, update.freebsd.org, and release tarballs from ftp.freebsd.org with nginx proxy_store, follows CDN redirects server-side, and serves everything over IPv6 into the mesh. Now also available as a public DN42 service at bsdmirror.chofstede.dn42.
What looked like a simple nginx config change turned into a tour through SSL library incompatibilities, pf firewall rules for a new protocol, and a multi-worker affinity problem that only shows up under real traffic. A complete guide to getting HTTP/3 working with nginx 1.28 on FreeBSD 15.0 inside a Bastille jail.
A full-stack overview of hosting a Pelican blog on FreeBSD 15.0 using Bastille jails, Caddy reverse proxy, and automated CI/CD deployment via Forgejo Actions.