Without `/etc/mime.types` (from mailcap) or alternatively
`/usr/share/mime/globs2` (created by the pacman hook of
shared-mime-info), Caddy will not set a `Content-Type` header for the
files it serves.
See https://wiki.archlinux.org/title/Caddy#Missing_Content-Type
Running 'caddy validate' on included Caddyfile triggered the warning:
Caddyfile input is not formatted;
run 'caddy fmt --overwrite' to fix inconsistencies
{"adapter": "caddyfile", "file": "Caddyfile", "line": 12}
This fix removes the empty line (at line 12) and the validation will
no longer complain.
Fixing https://gitlab.archlinux.org/archlinux/packaging/packages/caddy/-/issues/5
Caddy chokes if it dies or systemd timeout kills the process ungracefully as it
can't deal with a left over unix file socket.
Ensure the unit always deletes the socket as a post exit cleanup strategy.