src.nth.io/

summaryrefslogtreecommitdiff
path: root/dendrite/server/templates/dendrite.yaml.j2
diff options
context:
space:
mode:
Diffstat (limited to 'dendrite/server/templates/dendrite.yaml.j2')
-rw-r--r--dendrite/server/templates/dendrite.yaml.j23
1 files changed, 2 insertions, 1 deletions
diff --git a/dendrite/server/templates/dendrite.yaml.j2 b/dendrite/server/templates/dendrite.yaml.j2
index bd03718..d32c91b 100644
--- a/dendrite/server/templates/dendrite.yaml.j2
+++ b/dendrite/server/templates/dendrite.yaml.j2
@@ -44,9 +44,10 @@ global:
# to old signing private keys that were formerly in use on this domain. These
# keys will not be used for federation request or event signing, but will be
# provided to any other homeserver that asks when trying to verify old events.
- old_private_keys:
+ {% if dendrite_old_key %}old_private_keys:
- private_key: old_matrix_key.pem
expired_at: 1626538450
+{% endif %}
# How long a remote server can cache our server signing key before requesting it
# again. Increasing this number will reduce the number of requests made by other