From 6f7b2b4a01b3e8566eb874f163a1a8cb22af4964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Wed, 23 Dec 2020 11:40:42 +0100 Subject: [PATCH] prosody: add internal domain name to default cross-domains list --- prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua b/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua index 86c5202..4eb8f0e 100644 --- a/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua +++ b/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua @@ -37,7 +37,7 @@ cross_domain_websocket = true cross_domain_bosh = true {{ else }} {{ if not (eq $XMPP_CROSS_DOMAIN "false") }} - {{ $XMPP_CROSS_DOMAINS = list $PUBLIC_URL .Env.XMPP_CROSS_DOMAIN | join "," }} + {{ $XMPP_CROSS_DOMAINS = list $PUBLIC_URL .Env.XMPP_DOMAIN .Env.XMPP_CROSS_DOMAIN | join "," }} {{ end }} cross_domain_websocket = { "{{ join "\",\"" (splitList "," $XMPP_CROSS_DOMAINS) }}" } cross_domain_bosh = { "{{ join "\",\"" (splitList "," $XMPP_CROSS_DOMAINS) }}" }