Configuring Caddy for WordPress
WordPress, being a PHP application, generally assumes that your web server is Apache or Ngnix and has PHP support built in. It’s generally expected that you just unzip the application onto your web server and it just works. Caddy doesn’t work in the same way, and you’ll need to configure it manually.
Configuring Caddy for Mastodon
My web server of choice is Caddy. As a Go programmer, it seems an obvious choice - but I especially like its flexibility of configuration, speed, stability and automatic HTTPS feature. However, as it is a less common choice than something like Nginx, it can be hard to find pre-written configuration that just works for some common applications. So here I’m going to share how I use Caddy with Mastodon to serve my instance.
[ Home ]