mirror of
https://github.com/YunoHost-Apps/dendrite_ynh.git
synced 2024-09-03 18:25:58 +02:00
14 lines
419 B
Text
14 lines
419 B
Text
location = /.well-known/matrix/server {
|
|
return 200 '{"m.server": "__DOMAIN__:__PORT_TLS__"}';
|
|
add_header Content-Type application/json;
|
|
add_header Access-Control-Allow-Origin '*';
|
|
}
|
|
|
|
location = /.well-known/matrix/client {
|
|
return 200 '{
|
|
"m.homeserver": { "base_url": "https://__DOMAIN__" }
|
|
}';
|
|
add_header Content-Type application/json;
|
|
add_header Access-Control-Allow-Origin '*';
|
|
}
|
|
|