Skip to content

Commit

Permalink
Give higher .well-known priority vs nextcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
tituspijean authored Feb 13, 2024
1 parent 10bff82 commit bd3b28e
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 bd3b28e

Please sign in to comment.