1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/conduit_ynh.git synced 2024-09-03 18:16:30 +02:00
conduit_ynh/conf/server_name.conf
2024-02-13 21:03:16 +01:00

15 lines
598 B
Text

location = /.well-known/matrix/server {
return 200 '{"m.server": "__DOMAIN__:443"}';
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__" },
"org.matrix.msc3575.proxy": { "url": "https://__DOMAIN__" },
"im.vector.riot.jitsi": {"preferredDomain": "jitsi.riot.im"},
"im.vector.riot.e2ee": {"default": true }
}';
add_header Content-Type application/json;
add_header Access-Control-Allow-Origin '*';
}