From 83f427a5df08de44c08343e31c755adf8cf2c964 Mon Sep 17 00:00:00 2001 From: Chris Rose Date: Wed, 28 Dec 2022 00:24:18 -0800 Subject: [PATCH] bugfix: set the matrix public_baseurl Instead of computing this from the `matrix_server_fqn_matrix` this should use the pre-computed (or overridden!) `matrix_homeserver_url` so that it is possible to set the homeserver port, if that isn't `443` --- .../custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 b/roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 index d2dd1c74..c94803ac 100644 --- a/roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 +++ b/roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 @@ -63,7 +63,7 @@ pid_file: /homeserver.pid # # Defaults to 'https:///'. # -public_baseurl: https://{{ matrix_server_fqn_matrix }}/ +public_baseurl: {{ matrix_homeserver_url }} # Uncomment the following to tell other servers to send federation traffic on # port 443.