From 78b5be4a26196f582aefc7bf14145a7dd1f583cc Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Mon, 18 Jul 2022 12:54:45 +0300 Subject: [PATCH] Do not generate /.well-known/matrix/support unless explicitly asked to Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1931 --- docs/configuring-well-known.md | 4 ++++ roles/matrix-base/defaults/main.yml | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/configuring-well-known.md b/docs/configuring-well-known.md index f9f086b0..53a35386 100644 --- a/docs/configuring-well-known.md +++ b/docs/configuring-well-known.md @@ -46,6 +46,10 @@ The two playbook variables that you could look for, if you're interested in bein Example snippet for `vars.yml`: ``` +# Enable generation of `/.well-known/matrix/support`. +# This needs to be enabled explicitly for now, because MSC 1929 is not yet accepted. +matrix_well_known_matrix_support_enabled: true + # Homeserver admin contacts as per MSC 1929 https://github.com/matrix-org/matrix-spec-proposals/pull/1929 matrix_homeserver_admin_contacts: - matrix_id: "@admin1:{{ matrix_domain }}" diff --git a/roles/matrix-base/defaults/main.yml b/roles/matrix-base/defaults/main.yml index 6095f730..a0c0da9b 100644 --- a/roles/matrix-base/defaults/main.yml +++ b/roles/matrix-base/defaults/main.yml @@ -271,8 +271,10 @@ matrix_well_known_matrix_server_enabled: true # Controls whether a `/.well-known/matrix/support` file is generated and used at all. # +# This is not enabled by default, until the MSC gets accepted: https://github.com/matrix-org/matrix-spec-proposals/pull/1929 +# # See `matrix_homeserver_admin_contacts`, `matrix_homeserver_support_url`, etc. -matrix_well_known_matrix_support_enabled: true +matrix_well_known_matrix_support_enabled: false # Controls whether Docker is automatically installed. # If you change this to false you must install and update Docker manually. You also need to install the docker (https://pypi.org/project/docker/) Python package.