summaryrefslogtreecommitdiff
path: root/files/virtual_host.cfg.lua.j2
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2024-02-05 11:58:12 +0000
committerMatthew Fennell <matthew@fennell.dev>2024-02-05 11:58:12 +0000
commit09c5bd818ded489378104f523fcede23443c5092 (patch)
treeb862fcaa383e165a1f3e995ad4625f55845e3bc8 /files/virtual_host.cfg.lua.j2
parent58ce069ae98a74ec95db89e8dda6e1ff188c3b77 (diff)
Bulk update with all changes currently in prod
Diffstat (limited to 'files/virtual_host.cfg.lua.j2')
-rw-r--r--files/virtual_host.cfg.lua.j227
1 files changed, 27 insertions, 0 deletions
diff --git a/files/virtual_host.cfg.lua.j2 b/files/virtual_host.cfg.lua.j2
index 26058cb..5a6064a 100644
--- a/files/virtual_host.cfg.lua.j2
+++ b/files/virtual_host.cfg.lua.j2
@@ -4,5 +4,32 @@
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"
http_file_share_expires_after = 10 * 365 * 24 * 60 * 60
+
+Component "conference.{{ virtual_host }}" "muc"
+modules_enabled = {
+ "muc_mam";
+ "vcard_muc";
+}
+
+muc_log_expires_after = "10y"
+log_all_rooms = true
+
+restrict_room_creation = "local"
+max_history_messages = 1000
+enforce_registered_nickname = true
+
+muc_room_default_public = false
+muc_room_default_persistent = true
+muc_room_default_members_only = false
+muc_room_default_moderated = false
+muc_room_default_public_jids = true
+muc_room_default_change_subject = false
+muc_room_default_history_length = 1000
+muc_room_default_language = "en"