aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-09-30 15:39:05 +0100
committerGitHub <noreply@github.com>2022-09-30 15:39:05 +0100
commitaa8ec1acbf3932b0543033bbf735225dac21676a (patch)
treef0554aca86ee531c2742aca8c7f1eeb59781570e /docs
parent0e2fb63b4fe832befd266fe7e886832901eac00e (diff)
Update 2_domainname.md
Diffstat (limited to 'docs')
-rw-r--r--docs/installation/2_domainname.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/installation/2_domainname.md b/docs/installation/2_domainname.md
index 7d7fc86b..e7b3495f 100644
--- a/docs/installation/2_domainname.md
+++ b/docs/installation/2_domainname.md
@@ -87,6 +87,12 @@ and contain the following JSON document:
For example, this can be done with the following Caddy config:
```
+handle /.well-known/matrix/server {
+ header Content-Type application/json
+ header Access-Control-Allow-Origin *
+ respond `"m.server": "matrix.example.com:8448"`
+}
+
handle /.well-known/matrix/client {
header Content-Type application/json
header Access-Control-Allow-Origin *