Skip to content

Commit

Permalink
Merge pull request #437 from YunoHost-Apps/well-known-priority
Browse files Browse the repository at this point in the history
Give higher .well-known priority vs nextcloud
  • Loading branch information
Josue-T authored Feb 14, 2024
2 parents ddfba13 + bd3b28e commit d73b546
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conf/server_name.conf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
location /.well-known/matrix/server {
location = /.well-known/matrix/server {
return 200 '{"m.server": "__DOMAIN__:__SYNAPSE_TLS_PORT__"}';
add_header Content-Type application/json;
add_header Access-Control-Allow-Origin '*';
}

location /.well-known/matrix/client {
location = /.well-known/matrix/client {
return 200 '{
"m.homeserver": { "base_url": "https://__DOMAIN__" },
"im.vector.riot.jitsi": {"preferredDomain": "__JITSI_SERVER__"},
Expand Down

0 comments on commit d73b546

Please sign in to comment.