mirror of
https://github.com/matrix-org/dendrite
synced 2024-12-14 20:33:51 +01:00
Update 2_domainname.md
This commit is contained in:
parent
0e2fb63b4f
commit
aa8ec1acbf
1 changed files with 6 additions and 0 deletions
|
@ -87,6 +87,12 @@ and contain the following JSON document:
|
||||||
For example, this can be done with the following Caddy config:
|
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 {
|
handle /.well-known/matrix/client {
|
||||||
header Content-Type application/json
|
header Content-Type application/json
|
||||||
header Access-Control-Allow-Origin *
|
header Access-Control-Allow-Origin *
|
||||||
|
|
Loading…
Reference in a new issue