Caddy
Caddy is an open-source web server written in Go, and it’s the server I use to publish this website.
Creating Caddyfiles with Cog
Cog is a tool for doing in-place text generation for static files. It’s useful for generating repetitive config, like my web server redirects.
Disable HTTP Basic Auth for certain pages in Caddy
Define a matcher that negates the routes you want to be public, then use that with your
basic_authdirective.Restricting routes to pre-approved IP addresses in Caddy
Creating a reverse proxy to a multi-site server with Caddy
You need to add Host headers and HTTPS configuration to your
reverse_proxyblock.Moving my website from Netlify to Caddy
To avoid getting stung by Netlify’s bandwidth charges, I moved this site to a Linux server running Caddy as my web server.