# Global options { acme_dns porkbun { api_key {env.PORKBUN_API_KEY} api_secret_key {env.PORKBUN_API_SECRET_KEY} } email ty@myriation.xyz storage file_system { root /var/lib/caddy } } # Handle all routes handled by this server https://*.m.myriation.xyz { # Enforce always using HTTPS header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" # Give an HTTP cat on any errors handle_errors { header Content-Type text/html respond "