nixos/jitsi-meet: Update jitsi prosody configs
Changes made as per b6f7f8fba7
(cherry picked from commit 34b9ba2e6161e68febe4312c96c089d707472d5e)
This commit is contained in:
parent
df1e470c4b
commit
27d38294c6
@ -187,8 +187,8 @@ in
|
|||||||
];
|
];
|
||||||
extraModules = [ "pubsub" ];
|
extraModules = [ "pubsub" ];
|
||||||
extraConfig = mkAfter ''
|
extraConfig = mkAfter ''
|
||||||
Component "focus.${cfg.hostName}"
|
Component "focus.${cfg.hostName}" "client_proxy"
|
||||||
component_secret = os.getenv("JICOFO_COMPONENT_SECRET")
|
target_address = "focus@auth.${cfg.hostName}"
|
||||||
'';
|
'';
|
||||||
virtualHosts.${cfg.hostName} = {
|
virtualHosts.${cfg.hostName} = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
@ -254,6 +254,7 @@ in
|
|||||||
+ optionalString cfg.prosody.enable ''
|
+ optionalString cfg.prosody.enable ''
|
||||||
${config.services.prosody.package}/bin/prosodyctl register focus auth.${cfg.hostName} "$(cat /var/lib/jitsi-meet/jicofo-user-secret)"
|
${config.services.prosody.package}/bin/prosodyctl register focus auth.${cfg.hostName} "$(cat /var/lib/jitsi-meet/jicofo-user-secret)"
|
||||||
${config.services.prosody.package}/bin/prosodyctl register jvb auth.${cfg.hostName} "$(cat ${videobridgeSecret})"
|
${config.services.prosody.package}/bin/prosodyctl register jvb auth.${cfg.hostName} "$(cat ${videobridgeSecret})"
|
||||||
|
${config.services.prosody.package}/bin/prosodyctl mod_roster_command subscribe focus.${cfg.hostName} focus@auth.${cfg.hostName}
|
||||||
|
|
||||||
# generate self-signed certificates
|
# generate self-signed certificates
|
||||||
if [ ! -f /var/lib/jitsi-meet.crt ]; then
|
if [ ! -f /var/lib/jitsi-meet.crt ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user