-- SPDX-FileCopyrightText: 2024 Matthew Fennell -- -- SPDX-License-Identifier: AGPL-3.0-only VirtualHost "{{ virtual_host }}" admins = { "admin@{{ virtual_host }}" }; modules_enabled = { "groups"; "invites"; "invites_adhoc"; "invites_api"; "invites_page"; "invites_register"; "register"; "register_apps"; "turn_external"; } site_apps_show = { "conversations"; "dino"; "gajim"; "monal"; } {%- if roster_groups is defined %} groups_file = "/etc/prosody/groups/{{ virtual_host }}.toml" {% endif %} contact_info = { abuse = { "xmpp:abuse@{{ virtual_host }}" }; admin = { "xmpp:admin@{{ virtual_host }}" }; } turn_external_host = "turn.{{ virtual_host }}" turn_external_secret = "{{ turn_secret }}" allow_user_invites = true http_external_url = "https://{{ virtual_host }}/" site_name = "{{ virtual_host }}" Component "upload.{{ virtual_host }}" "http_file_share" http_file_share_global_quota = 5 * 1024 * 1024 * 1024 Component "conference.{{ virtual_host }}" "muc" modules_enabled = { "muc"; "muc_mam"; "vcard_muc"; } log_all_rooms = true restrict_room_creation = "local" muc_room_default_public = false muc_room_default_public_jids = true {% if anonymous_login %} VirtualHost "anon.{{ virtual_host }}" authentication = "anonymous" {% endif %}