-- SPDX-FileCopyrightText: 2024 Matthew Fennell -- -- SPDX-License-Identifier: AGPL-3.0-only VirtualHost "{{ virtual_host }}" {% if not is_transport_server %} admins = { "admin@{{ virtual_host }}" } {% endif %} modules_enabled = { -- Core "groups"; -- Invites {% if not is_transport_server %} "invites"; "invites_adhoc"; "invites_api"; "invites_page"; "invites_register"; "invites_tracking"; "register"; "register_apps"; {% endif %} } {% if not is_transport_server %} site_apps_show = { "conversations"; "dino"; "gajim"; "monal"; } {% endif %} {% if not is_transport_server %} contact_info = { abuse = { "xmpp:abuse@{{ virtual_host }}" }; admin = { "xmpp:admin@{{ virtual_host }}" }; } {% endif %} {% if not is_transport_server %} allow_user_invites = true http_external_url = "https://{{ virtual_host }}/" site_name = "{{ virtual_host }}" {% endif %} Component "upload.{{ virtual_host }}" "http_file_share" http_file_share_size_limit = 300 * 1024 * 1024 http_file_share_global_quota = 5 * 1024 * 1024 * 1024 Component "conference.{{ virtual_host }}" "muc" modules_enabled = { "muc"; "muc_mam"; -- Spam {% if not is_transport_server %} "muc_moderation"; "muc_rtbl"; {% endif %} } log_all_rooms = true restrict_room_creation = "local" muc_room_default_public = false muc_room_default_public_jids = true {% if not is_transport_server %} muc_rtbl_jid = "xmppbl.org" {% endif %}