remove hosted element call

This commit is contained in:
Henry Hiles 2026-10-06 15:18:59 -04:00
commit 7da5d9252e
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -1,12 +1,10 @@
{
lib,
pkgs,
config,
...
}:
let
domain = "call.federated.nexus";
livekitDomain = "livekit.call.federated.nexus";
lkJwtServiceDomain = "lk-jwt.call.federated.nexus";
in
@ -40,24 +38,6 @@ in
caddy.virtualHosts = {
"${livekitDomain}".extraConfig = "reverse_proxy 127.0.0.1:7880";
"${lkJwtServiceDomain}".extraConfig = "reverse_proxy 127.0.0.1:8080";
"${domain}".extraConfig = ''
root * ${pkgs.element-call}
route {
respond /config.json `${
builtins.toJSON {
default_server_config = {
"m.homeserver" = {
"base_url" = config.services.matrix-continuwuity.settings.global.well_known.client;
"server_name" = config.quad.matrix.domain;
};
};
}
}` 200
try_files {path} {path}/ /index.html
file_server
}
'';
};
};
}