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

Update server_name.conf

This commit is contained in:
Thatoo 2023-08-30 00:20:58 +02:00 committed by GitHub
parent ef27eb9e07
commit c85ffc0aa5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,3 +3,12 @@ location /.well-known/matrix/server {
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__" },
"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 '*';
}