mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-25 21:21:35 +00:00
Fix Caddy config well-known delegation example (#2879)
Signed-off-by: Omar Kotb <omar@omarkotb.com> Signed-off-by: Omar Kotb <omar@omarkotb.com>
This commit is contained in:
parent
2a77a910eb
commit
f4ee397734
@ -90,7 +90,7 @@ For example, this can be done with the following Caddy config:
|
|||||||
handle /.well-known/matrix/server {
|
handle /.well-known/matrix/server {
|
||||||
header Content-Type application/json
|
header Content-Type application/json
|
||||||
header Access-Control-Allow-Origin *
|
header Access-Control-Allow-Origin *
|
||||||
respond `"m.server": "matrix.example.com:8448"`
|
respond `{"m.server": "matrix.example.com:8448"}`
|
||||||
}
|
}
|
||||||
|
|
||||||
handle /.well-known/matrix/client {
|
handle /.well-known/matrix/client {
|
||||||
|
Loading…
Reference in New Issue
Block a user