From 9ad2f38d254b01611e874ac5aa8cddaf5aa28732 Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Sun, 6 Jul 2025 19:57:44 +0100 Subject: Share turnserver between vhosts on same machine I made a mistake in the original configuration - I tried to give each virtual host a separate turnserver on its own subdomain. However, since koyo.haus and fennell.dev (and likewise in nonprod) share a virtual machine, they can only have one turnserver between them (in the turnserver.conf, there can only be a single realm). Therefore, always point to koyo.haus for the turnserver in each environment. --- files/virtual_host.cfg.lua.j2 | 4 ---- 1 file changed, 4 deletions(-) (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 2834474..4182a60 100644 --- a/files/virtual_host.cfg.lua.j2 +++ b/files/virtual_host.cfg.lua.j2 @@ -15,7 +15,6 @@ modules_enabled = { "invites_register"; "register"; "register_apps"; - "turn_external"; } site_apps_show = { @@ -34,9 +33,6 @@ contact_info = { admin = { "xmpp:admin@{{ virtual_host }}" }; } -turn_external_host = "turn.{{ virtual_host }}" -turn_external_secret = "{{ turn_secret }}" - allow_user_invites = true http_external_url = "https://{{ virtual_host }}/" site_name = "{{ virtual_host }}" -- cgit v1.2.3