prosody: add internal domain name to default cross-domains list

pull/899/head
Saúl Ibarra Corretgé 4 years ago
parent ada7b952e9
commit 6f7b2b4a01
  1. 2
      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) }}" }

Loading…
Cancel
Save