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

Merge pull request #9 from Thatoo/patch-1

Update server_name.conf
This commit is contained in:
Tagada 2023-09-23 10:46:31 +02:00 committed by GitHub
commit 7ff8ce4d3b
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 '*';
}