From 4daadd054bcaddff2ac9260b6cebcd31edc95da4 Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Fri, 2 Jan 2026 01:17:03 +0000 Subject: Enforce chat delegate prefix across all hosts I use the playbook to deploy to three different domains. Before this commit, some instances were deployed to the root domain (e.g. example.org) and others were deployed to a subdomain (e.g. chat.example.org), so that other services/hosts could easily live at the root. I would now like to enforce that all instances live under the chat. subdomain. There is no real benefit to having this difference in deployments, having more consistency will make reasoning about the different instances easier and allow me to delete some extra variables, and it will also allow me to deploy separate services to the root domains in the future if needed. --- files/virtual_host.cfg.lua.j2 | 8 ++------ 1 file changed, 2 insertions(+), 6 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 470281c..c5700c2 100644 --- a/files/virtual_host.cfg.lua.j2 +++ b/files/virtual_host.cfg.lua.j2 @@ -40,7 +40,7 @@ site_apps_show = { {% if not is_transport_server %} allow_user_invites = true -http_external_url = "https://{{ virtual_host }}/" +http_external_url = "https://chat.{{ virtual_host }}/" site_name = "{{ virtual_host }}" {% endif %} @@ -71,11 +71,7 @@ http_file_share_access = { Component "proxy.{{ virtual_host }}" "proxy65" -{% if delegate_prefix == "" %} -proxy65_address = "{{ virtual_host }}" -{% else %} -proxy65_address = "{{ delegate_prefix }}.{{ virtual_host }}" -{% endif %} +proxy65_address = "chat.{{ virtual_host }}" modules_disabled = { "s2s"; -- cgit v1.2.3