Installation on Fedora
Fedora does not ship Caddy in its main repositories; use the official @caddy/caddy COPR. The commands above enable the COPR plugin, add the repository, and install Caddy together with a systemd service.
Firewall
Fedora's firewall blocks inbound traffic by default. Open HTTP and HTTPS with sudo firewall-cmd --add-service={http,https} --permanent && sudo firewall-cmd --reload so Caddy can serve and complete the ACME challenge for automatic certificates.
Configuration
Edit /etc/caddy/Caddyfile, then apply with sudo systemctl reload caddy. Automatically issued certificates and state are stored under /var/lib/caddy.