aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorRyan W <twentybitdev@gmail.com>2021-09-10 10:05:31 +0100
committerGitHub <noreply@github.com>2021-09-10 10:05:31 +0100
commit1cd4d50181585d664ca7337e3f48ea00a1b1f5c6 (patch)
tree516d497bb181eb03388e692ea4407747e93f12bf /build
parenta624eab309ee6ee7b3540dfba884a42c9a4f4ad9 (diff)
Added .well-known/matrix/server endpoint (#1988)
* Added .well-known/matrix/server endpoint Signed-off-by: Ryan Whittington <twentybitdev@gmail.com> * Replaced tabs with spaces Signed-off-by: Ryan Whittington <twentybitdev@gmail.com>
Diffstat (limited to 'build')
-rw-r--r--build/docker/config/dendrite-config.yaml4
-rw-r--r--build/gobind-pinecone/monolith.go1
-rw-r--r--build/gobind-yggdrasil/monolith.go1
3 files changed, 6 insertions, 0 deletions
diff --git a/build/docker/config/dendrite-config.yaml b/build/docker/config/dendrite-config.yaml
index ffcf6a45..bc5d6699 100644
--- a/build/docker/config/dendrite-config.yaml
+++ b/build/docker/config/dendrite-config.yaml
@@ -52,6 +52,10 @@ global:
# considered valid by other homeservers.
key_validity_period: 168h0m0s
+ # The server name to delegate server-server communications to, with optional port
+ # e.g. localhost:443
+ well_known_server_name: ""
+
# Lists of domains that the server will trust as identity servers to verify third
# party identifiers such as phone numbers and email addresses.
trusted_third_party_id_servers:
diff --git a/build/gobind-pinecone/monolith.go b/build/gobind-pinecone/monolith.go
index 310e3a04..3372b6de 100644
--- a/build/gobind-pinecone/monolith.go
+++ b/build/gobind-pinecone/monolith.go
@@ -332,6 +332,7 @@ func (m *DendriteMonolith) Start() {
base.PublicClientAPIMux,
base.PublicFederationAPIMux,
base.PublicKeyAPIMux,
+ base.PublicWellKnownAPIMux,
base.PublicMediaAPIMux,
base.SynapseAdminMux,
)
diff --git a/build/gobind-yggdrasil/monolith.go b/build/gobind-yggdrasil/monolith.go
index 6fc5f244..693e9236 100644
--- a/build/gobind-yggdrasil/monolith.go
+++ b/build/gobind-yggdrasil/monolith.go
@@ -156,6 +156,7 @@ func (m *DendriteMonolith) Start() {
base.PublicClientAPIMux,
base.PublicFederationAPIMux,
base.PublicKeyAPIMux,
+ base.PublicWellKnownAPIMux,
base.PublicMediaAPIMux,
base.SynapseAdminMux,
)