From 0ab0481608d396681c2b5520e768d4a007b9be6f Mon Sep 17 00:00:00 2001 From: Jakub Czajka Date: Sun, 27 Nov 2022 10:19:15 +0100 Subject: [PATCH] [matrix] Enable delegation. A matrix server is typically available under a subdomain eg. matrix.. This commit makes it available additionally simply under . Users can now be addressed as @:. Note, that this does not work when asked explicitly about server's name. --- matrix/README | 4 ++++ matrix/homeserver.yaml | 2 ++ nginx/README | 1 + 3 files changed, 7 insertions(+) diff --git a/matrix/README b/matrix/README index 7e99581..4ace585 100644 --- a/matrix/README +++ b/matrix/README @@ -8,6 +8,10 @@ implementing the matrix protocol. Servers connect to each other on port 8448 DNS --- +Set up and matrix.. + + A + AAAA matrix. CNAME SSL diff --git a/matrix/homeserver.yaml b/matrix/homeserver.yaml index 1979e28..5d8eec5 100644 --- a/matrix/homeserver.yaml +++ b/matrix/homeserver.yaml @@ -1371,3 +1371,5 @@ enable_group_creation: false # #user_directory: # search_all_users: false + +serve_server_wellknown: true diff --git a/nginx/README b/nginx/README index 3c462c5..3fa51ef 100644 --- a/nginx/README +++ b/nginx/README @@ -11,6 +11,7 @@ nginx | |-> nginx.conf -- /etc/nginx/ :: Main configuration. |-> mime.types -- /etc/nginx/ :: Available mime types. +|-> .template -- /etc/nginx/sites-available/. `-> matrix..template -- /etc/nginx/sites-available. SSL -- 2.39.5