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