mirror of
https://git.envs.net/envs/matrix-conf.git
synced 2025-02-13 22:01:27 -05:00
40 lines
958 B
Plaintext
40 lines
958 B
Plaintext
# matrix/support
|
|
location /.well-known/matrix/support {
|
|
add_header Access-Control-Allow-Origin '*';
|
|
add_header Content-Type application/json;
|
|
return 200 '{
|
|
"admins": [
|
|
{
|
|
"matrix_id": "@creme:envs.net",
|
|
"email_address": "hostmaster@envs.net",
|
|
"role": "m.role.admin"
|
|
}
|
|
],
|
|
"support_page": "https://matrix.to/#/#envs:envs.net",
|
|
"net.envs.abuse_reports": "https://matrix.to/#/#abuse:envs.net"
|
|
}';
|
|
}
|
|
|
|
# matrix/server
|
|
location /.well-known/matrix/server {
|
|
add_header Access-Control-Allow-Origin '*';
|
|
add_header Content-Type application/json;
|
|
return 200 '{
|
|
"m.server": "matrix.envs.net:443"
|
|
}';
|
|
}
|
|
|
|
# matrix/client
|
|
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.tile_server": {
|
|
"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=jrKVgM1ozvdgREfvtZ8X"
|
|
}
|
|
}';
|
|
}
|