Solved docker variable bug

This commit is contained in:
2025-02-03 17:24:18 +01:00
parent 8e2c8360d4
commit ccc87ad24b
2 changed files with 5 additions and 2 deletions

View File

@@ -1,5 +1,8 @@
server {
server_name {{domains.matrix_synapse}};
# Somehow .j2 doesn't interpretate the passed variable right. For this reasons this redeclaration is necessary
{% set domain = domains.matrix_synapse %}
server_name {{domain}};
{% include 'roles/letsencrypt/templates/ssl_header.j2' %}
# For the federation port