Compare commits

...

1 Commits

Author SHA1 Message Date
Tom Alexander
3c96e0fa12 Add well-known blocks for the matrix server.
All checks were successful
semver Build semver has succeeded
build-homepage Build build-homepage has succeeded
2023-08-10 00:35:13 -04:00

View File

@@ -37,6 +37,16 @@ http {
add_header 'Content-Type' 'application/json';
return 200 '{"status":"OK"}';
}
location /.well-known/matrix/server {
default_type application/json;
return 200 '{"m.server": "matrix.fizz.buzz:8448"}';
}
location /.well-known/matrix/client {
default_type application/json;
return 200 '{"m.homeserver":{"base_url": "https://matrix.fizz.buzz"}}';
}
}
}