mirror of
https://github.com/jitsi/docker-jitsi-meet.git
synced 2026-04-03 16:21:43 +02:00
prosody: s2s whitelist duplicate param fix (#1625)
This commit is contained in:
parent
eb91893895
commit
af50ddeecb
@ -179,6 +179,7 @@ c2s_interfaces = { "*" }
|
||||
-- set s2s port
|
||||
s2s_ports = { {{ $S2S_PORT }} } -- Listen on specific s2s port
|
||||
|
||||
{{ if eq .Env.PROSODY_MODE "visitors" -}}
|
||||
s2s_whitelist = {
|
||||
{{ if $ENABLE_VISITORS -}}
|
||||
'{{ $XMPP_MUC_DOMAIN }}'; -- needed for visitors to send messages to main room
|
||||
@ -192,6 +193,8 @@ s2s_whitelist = {
|
||||
}
|
||||
{{ end -}}
|
||||
|
||||
{{ end -}}
|
||||
|
||||
{{ if $ENABLE_VISITORS -}}
|
||||
{{ if $.Env.VISITORS_XMPP_SERVER -}}
|
||||
s2sout_override = {
|
||||
@ -202,6 +205,7 @@ s2sout_override = {
|
||||
["v{{ $index }}.{{ $VISITORS_XMPP_DOMAIN }}"] = "tcp://{{ $SERVER._0 }}:{{ $SERVER._1 | default $DEFAULT_PORT }}";
|
||||
{{ end -}}
|
||||
};
|
||||
{{ if ne .Env.PROSODY_MODE "visitors" -}}
|
||||
s2s_whitelist = {
|
||||
{{ range $index, $element := $VISITORS_XMPP_SERVERS -}}
|
||||
"{{ $VISITORS_MUC_PREFIX }}.v{{ $index }}.{{ $VISITORS_XMPP_DOMAIN }}";
|
||||
@ -209,6 +213,7 @@ s2s_whitelist = {
|
||||
};
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
|
||||
|
||||
-- Force certificate authentication for server-to-server connections?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user