mirror of https://git.envs.net/envs/ops.git
nginx: specify /.well-known/matrix/ for client
Signed-off-by: creme <creme@envs.net>
This commit is contained in:
parent
68004e4160
commit
7764a06274
|
@ -79,7 +79,7 @@ server {
|
|||
return 200 '{"m.server": "matrix.envs.net:443"}';
|
||||
}
|
||||
|
||||
location /.well-known/matrix {
|
||||
location /.well-known/matrix/client {
|
||||
add_header Access-Control-Allow-Origin '*';
|
||||
add_header Content-Type application/json;
|
||||
return 200 '{"m.homeserver": {"base_url": "https://matrix.envs.net"}, "m.integrations": {"managers": [{"ui_url": "https://dimension.envs.net/riot", "api_url": "https://dimension.envs.net/api/v1/scalar"}, {"ui_url": "https://scalar.vector.im/", "api_url": "https://scalar.vector.im/api"}]}, "m.integrations_widget": {"url": "https://dimension.envs.net/riot", "data": {"api_url": "https://dimension.envs.net/api/v1/scalar"}}, "m.tile_server": {"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=jrKVgM1ozvdgREfvtZ8X"}}';
|
||||
|
|
Loading…
Reference in New Issue