1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Update conf/server_name.conf

Co-Authored-By: Josue-T <josue@tille.ch>
This commit is contained in:
Thatoo 2019-11-09 16:13:57 +01:00 committed by GitHub
parent dc7d8ac1b7
commit 11f9197a58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
location /.well-known/matrix/ {
return 200 '{"m.server": "$domain", "m.homeserver": "https://$domain"}';
return 200 '{"m.server": "__DOMAIN__:__PORT__"}';
add_header Content-Type application/json;
add_header Access-Control-Allow-Origin '*';
}