A few days ago I published an Emacs major mode for Caddyfiles. Which means that you can now have syntax highlighting and indentation for Caddyfiles in Emacs
The source and documentation are on GitHub; the package is also available on MELPA as caddyfile-mode.