fixed element-calling
This commit is contained in:
@@ -6,12 +6,9 @@ in
|
||||
|
||||
lib.mkIf config.sovran_systemsOS.features.element-calling {
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /var/lib/domains/element-calling 0750 caddy php -"
|
||||
];
|
||||
|
||||
####### CADDY CONFIGS #######
|
||||
"${personalization.matrix_url}" = lib.mkForce {
|
||||
services.caddy.virtualHosts = lib.mkForce {
|
||||
"${personalization.matrix_url}" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy /_matrix/* http://localhost:8008
|
||||
reverse_proxy /_synapse/client/* http://localhost:8008
|
||||
@@ -23,7 +20,7 @@ lib.mkIf config.sovran_systemsOS.features.element-calling {
|
||||
'';
|
||||
};
|
||||
|
||||
"${personalization.element-calling_url}" = lib.mkForce {
|
||||
"${personalization.element-calling_url}" = {
|
||||
extraConfig = ''
|
||||
handle /livekit/jwt/sfu/get {
|
||||
uri strip_prefix /livekit/jwt
|
||||
@@ -39,6 +36,7 @@ lib.mkIf config.sovran_systemsOS.features.element-calling {
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
####### LIVEKIT SERVICE #######
|
||||
services.livekit = {
|
||||
|
||||
Reference in New Issue
Block a user