From 7a6a6270d10c1643bfd33913877080080b935522 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Fri, 5 Jan 2024 06:26:56 +0200 Subject: [PATCH] Fix API endpoints for Synapse when companion is disabled (removing leading http://) --- group_vars/matrix_servers | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/group_vars/matrix_servers b/group_vars/matrix_servers index ccf39c009..508ea8a92 100755 --- a/group_vars/matrix_servers +++ b/group_vars/matrix_servers @@ -470,7 +470,7 @@ matrix_homeserver_systemd_services_list: |- matrix_homeserver_container_client_api_endpoint: |- {{ { - 'synapse': ('matrix-synapse-reverse-proxy-companion:8008' if matrix_synapse_reverse_proxy_companion_enabled else 'http://matrix-synapse:'+ matrix_synapse_container_client_api_port|string), + 'synapse': ('matrix-synapse-reverse-proxy-companion:8008' if matrix_synapse_reverse_proxy_companion_enabled else 'matrix-synapse:'+ matrix_synapse_container_client_api_port|string), 'dendrite': ('matrix-dendrite:' + matrix_dendrite_http_bind_port|string), 'conduit': ('matrix-conduit:' + matrix_conduit_port_number|string), }[matrix_homeserver_implementation] @@ -479,7 +479,7 @@ matrix_homeserver_container_client_api_endpoint: |- matrix_homeserver_container_federation_api_endpoint: |- {{ { - 'synapse': ('matrix-synapse-reverse-proxy-companion:8048' if matrix_synapse_reverse_proxy_companion_enabled else 'http://matrix-synapse:'+ matrix_synapse_container_federation_api_plain_port|string), + 'synapse': ('matrix-synapse-reverse-proxy-companion:8048' if matrix_synapse_reverse_proxy_companion_enabled else 'matrix-synapse:'+ matrix_synapse_container_federation_api_plain_port|string), 'dendrite': ('matrix-dendrite:' + matrix_dendrite_http_bind_port|string), 'conduit': ('matrix-conduit:' + matrix_conduit_port_number|string), }[matrix_homeserver_implementation]