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:
Omar Kotb 2022-11-14 19:15:39 +02:00 committed by GitHub
parent 2a77a910eb
commit f4ee397734
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {