2024-02-13 20:56:04 +01:00
|
|
|
location = /.well-known/matrix/server {
|
2023-11-01 18:52:07 +01:00
|
|
|
return 200 '{"m.server": "__DOMAIN__:__PORT_SYNAPSE_TLS__"}';
|
2020-05-07 14:41:35 +02:00
|
|
|
add_header Content-Type application/json;
|
|
|
|
add_header Access-Control-Allow-Origin '*';
|
|
|
|
}
|
|
|
|
|
2024-02-13 20:56:04 +01:00
|
|
|
location = /.well-known/matrix/client {
|
2020-09-24 00:23:26 +02:00
|
|
|
return 200 '{
|
|
|
|
"m.homeserver": { "base_url": "https://__DOMAIN__" },
|
2020-12-15 22:25:29 +01:00
|
|
|
"im.vector.riot.jitsi": {"preferredDomain": "__JITSI_SERVER__"},
|
2023-11-01 18:52:07 +01:00
|
|
|
"im.vector.riot.e2ee": {"default": __E2E_ENABLED_BY_DEFAULT_CLIENT_CONFIG__ }
|
2020-05-07 14:41:35 +02:00
|
|
|
}';
|
|
|
|
add_header Content-Type application/json;
|
|
|
|
add_header Access-Control-Allow-Origin '*';
|
2019-12-01 22:18:56 +01:00
|
|
|
}
|