1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00
synapse_ynh/conf/server_name.conf
Josué Tille b435f316a2
Full rework of all scripts
- Adapt all script with packaging v2
- Rework cleanly control pannel and remove all replace in file as it's breaken after each update
- Cleanup
2023-11-01 18:52:07 +01:00

15 lines
582 B
Text

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