{ # GoDaddy can't do flattening to apply a CNAME to an apex record. So we use # their "forwarding" (redirect-as-a-service) to redirect to www.…, which we # _can_ CNAME. services.caddy.virtualHosts."www.swiftgang.net".extraConfig = '' encode zstd gzip file_server root * /srv/www/swiftgang.net handle_errors { respond "{err.status_code} {err.status_text}" } ''; systemd.tmpfiles.settings."10-swiftgang-net" = { "/srv/www/swiftgang.net" = { d = {}; }; }; }