The need for sensible defaults

A case of switching from Nginx to CaddyWhen installing a new VPS for a new project, I had to dive in my previous nginx boilerplate configuration files to create a new one, slightly different, to accomodate for my various needs on the project. While doing so, I remembered how long…

Caddy for Ghost

If you're trying to serve your Ghost blog with Caddy, the configuration is pretty simple, but you must add the X-Forwarded-Proto header upstream for the https redirection to work : myghostblog.com { reverse_proxy localhost:3000 { header_up X-Forwarded-Proto {scheme} } } Note that you don't need any file_server directive since everything…