add Matrix client homeserver delegation

This commit is contained in:
Daniel Micay 2021-05-24 12:08:52 -04:00
parent 8e31124e3c
commit 1b244d9543
2 changed files with 6 additions and 0 deletions

View File

@ -241,6 +241,11 @@ http {
add_header Cache-Control "public, max-age=31536000, immutable";
}
location = /.well-known/matrix/client {
add_header Access-Control-Allow-Origin "*";
default_type application/json;
}
location = /.well-known/matrix/server {
default_type application/json;
}

View File

@ -0,0 +1 @@
{"m.homeserver":{"base_url":"https://matrix.grapheneos.org"}}