summaryrefslogtreecommitdiff
path: root/files/virtual_host.cfg.lua.j2
diff options
context:
space:
mode:
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"