Skip to content

Commit

Permalink
Update docs/configuring-well-known.md: iterate
Browse files Browse the repository at this point in the history
Signed-off-by: Suguru Hirahara <[email protected]>
  • Loading branch information
Suguru Hirahara committed Nov 13, 2024
1 parent e5f0536 commit 42540a2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/configuring-well-known.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Configuring Service Discovery via .well-known

Service discovery is a way for the Matrix network to discover where a Matrix server is. This is necessary for federation to work.
Service discovery is a way for the Matrix network to discover where a Matrix server is.

## Types of well-known service discovery mechanism

There are 3 types of well-known service discovery mechanism that Matrix makes use of:

- (important) **Federation Server discovery** (`/.well-known/matrix/server`) -- assists other servers in the Matrix network with finding your server. Without a proper configuration, your server will effectively not be part of the Matrix network.
- (important) **Federation Server discovery** (`/.well-known/matrix/server`) -- assists other servers in the Matrix network with finding your server. **This is necessary for federation to work.** Without a proper configuration, your server will effectively not be part of the Matrix network.

- (not that important) **Client Server discovery** (`/.well-known/matrix/client`) -- assists programs that you use to connect to your server (e.g. Element Web), so that they can make it more convenient for you by automatically configuring the "Homeserver URL" and "Identity Server URL" addresses.
- (less important) **Client Server discovery** (`/.well-known/matrix/client`) -- assists programs that you use to connect to your server (e.g. Element Web), so that they can make it more convenient for you by automatically configuring the "Homeserver URL" and "Identity Server URL" addresses.

- (optional) **Support service discovery** (`/.well-known/matrix/support`) -- gets server admin contact and support page of the domain.
- (optional) **Support service discovery** (`/.well-known/matrix/support`) -- returns server admin contact and support page of the domain.

### Federation Server Discovery

Expand Down Expand Up @@ -38,7 +38,7 @@ However, this playbook installs your Matrix server on another domain (e.g. `matr

The two playbook variables that you could look for are: `matrix_static_files_file_matrix_support_property_m_contacts` and `matrix_static_files_file_matrix_support_property_m_support_page`.

Example snippet for `vars.yml`:
Add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file:

```yaml
# Enable generation of `/.well-known/matrix/support`.
Expand Down

0 comments on commit 42540a2

Please sign in to comment.