From b997dabfebe74422de510884b68480fcb3bf1780 Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Thu, 23 May 2024 21:02:51 +0100 Subject: Add anonymous subdomain when requested This will primiarly be used for motoristic. --- files/virtual_host.cfg.lua.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'files/virtual_host.cfg.lua.j2') diff --git a/files/virtual_host.cfg.lua.j2 b/files/virtual_host.cfg.lua.j2 index 272e24b..77726ff 100644 --- a/files/virtual_host.cfg.lua.j2 +++ b/files/virtual_host.cfg.lua.j2 @@ -13,6 +13,7 @@ modules_enabled = { "invites_register"; "register"; "register_apps"; + "turn_external"; } contact_info = { @@ -39,3 +40,10 @@ 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 %} -- cgit v1.2.3