remove hosted element call
This commit is contained in:
parent
b2a75a30bb
commit
7da5d9252e
1 changed files with 20 additions and 40 deletions
|
|
@ -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
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue