Optimized matrix domain mapping

This commit is contained in:
2025-05-17 11:53:49 +02:00
parent a3d5bb3277
commit ca5c3c6e8a
17 changed files with 38 additions and 37 deletions

View File

@@ -1,10 +1,10 @@
server {
{# Somehow .j2 doesn't interpretate the passed variable right. For this reasons this redeclaration is necessary #}
{# Could be that this is related to the set_fact use #}
{% set domain = domains.synapse %}
{% set domain = domains.matrix.synapse %}
{% set http_port = ports.localhost.http.synapse %}
server_name {{domains.synapse}};
server_name {{domains.matrix.synapse}};
{% include 'roles/letsencrypt/templates/ssl_header.j2' %}
# For the federation port