prosody: var for config in main vhost (#1615)

pull/1616/head
Aaron van Meerten 1 year ago committed by GitHub
parent bebd748712
commit 5120595a48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      docker-compose.yml
  2. 6
      prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua
  3. 4
      prosody/rootfs/defaults/conf.d/visitors.cfg.lua

@ -262,6 +262,7 @@ services:
- VISITORS_XMPP_DOMAIN
- VISITORS_XMPP_SERVER
- VISITORS_XMPP_PORT
- XMPP_CONFIGURATION
- XMPP_DOMAIN
- XMPP_AUTH_DOMAIN
- XMPP_GUEST_DOMAIN

@ -244,10 +244,14 @@ VirtualHost "{{ $XMPP_DOMAIN }}"
c2s_require_encryption = false
{{ if $ENABLE_VISITORS }}
{{ if $ENABLE_VISITORS -}}
visitors_ignore_list = { "{{ $XMPP_RECORDER_DOMAIN }}" }
{{ end }}
{{ if .Env.XMPP_CONFIGURATION -}}
{{ join "\n " (splitList "," .Env.XMPP_CONFIGURATION) }}
{{ end -}}
{{ if $ENABLE_GUEST_DOMAIN }}
VirtualHost "{{ $XMPP_GUEST_DOMAIN }}"
authentication = "jitsi-anonymous"

@ -135,6 +135,10 @@ VirtualHost 'v{{ $VISITOR_INDEX }}.{{ $VISITORS_XMPP_DOMAIN }}'
region_name = "{{ $REGION_NAME }}"
release_number = "{{ $RELEASE_NUMBER }}"
{{ if .Env.XMPP_CONFIGURATION -}}
{{ join "\n " (splitList "," .Env.XMPP_CONFIGURATION) }}
{{ end -}}
VirtualHost '{{ $XMPP_AUTH_DOMAIN}}'
modules_enabled = {

Loading…
Cancel
Save