summaryrefslogtreecommitdiff
path: root/files/virtual_host.cfg.lua.j2
blob: 06da831791ec82035b1d654eec7d6167366e74e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
-- SPDX-FileCopyrightText: 2024 Matthew Fennell <matthew@fennell.dev>
--
-- 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";
}

site_apps_show = {
  "conversations";
  "dino";
  "gajim";
  "monal";
}

contact_info = {
  abuse = { "xmpp:abuse@{{ virtual_host }}" };
  admin = { "xmpp:admin@{{ virtual_host }}" };
}

allow_user_invites = true
http_external_url = "https://{{ virtual_host }}/"
site_name = "{{ virtual_host }}"

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";
  "vcard_muc";
}

log_all_rooms = true
restrict_room_creation = "local"
muc_room_default_public = false
muc_room_default_public_jids = true