Add well-known blocks for the matrix server.
semver Build semver has succeeded Details
build-homepage Build build-homepage has succeeded Details

main v0.0.50
Tom Alexander 9 months ago
parent 85f3b31480
commit 3c96e0fa12
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

@ -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"}}';
}
}
}

Loading…
Cancel
Save