From 94378a772930112e111f199b86dd231341b2d1c4 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Wed, 17 Jan 2024 10:13:15 +0200 Subject: [PATCH] Make use of matrix_synapse_container_labels_matrix_related_labels_enabled Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3102 --- .../matrix-synapse/templates/synapse/labels.j2 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/roles/custom/matrix-synapse/templates/synapse/labels.j2 b/roles/custom/matrix-synapse/templates/synapse/labels.j2 index 60ce4e9e2..9d68227ca 100644 --- a/roles/custom/matrix-synapse/templates/synapse/labels.j2 +++ b/roles/custom/matrix-synapse/templates/synapse/labels.j2 @@ -52,6 +52,13 @@ traefik.http.routers.matrix-synapse-public-client-root.tls.certResolver={{ matri {% endif %} +{% if matrix_synapse_container_labels_matrix_related_labels_enabled %} +############################################################ +# # +# MATRIX-RELATED (/_matrix, /_synapse/..) # +# # +############################################################ + {% if matrix_synapse_container_labels_public_client_api_enabled %} ############################################################ # # @@ -221,6 +228,13 @@ traefik.http.routers.matrix-synapse-public-federation-api.tls.certResolver={{ ma ############################################################ {% endif %} +############################################################ +# # +# /MATRIX-RELATED (/_matrix, /_synapse/..) # +# # +############################################################ +{% endif %} {# end of matrix_synapse_container_labels_matrix_related_labels_enabled if-check #} + {% if matrix_synapse_container_labels_public_metrics_enabled %} ############################################################