summaryrefslogtreecommitdiff
path: root/files/virtual_host.cfg.lua.j2
blob: 6db9e983b0c8990d2d73799ba1c0682079ed106a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
-- SPDX-FileCopyrightText: 2024 Matthew Fennell <matthew@fennell.dev>
--
-- SPDX-License-Identifier: AGPL-3.0-only

VirtualHost "{{ virtual_host }}"

turn_external_host = "turn.{{ virtual_host }}"
turn_external_secret = "{{ turn_secret }}"

site_name = "{{ virtual_host }}"

Component "upload.{{ virtual_host }}" "http_file_share"

Component "conference.{{ virtual_host }}" "muc"
modules_enabled = {
  "muc_mam";
  "vcard_muc";
}

log_all_rooms = true
restrict_room_creation = "local"