forked from exozyme/nginx
Configure Synapse .well-known client delegation
This commit is contained in:
parent
8d0daabe13
commit
926478a379
1 changed files with 6 additions and 0 deletions
|
@ -28,6 +28,12 @@ server {
|
|||
return 200 '{"m.server": "chat.exozy.me:443"}';
|
||||
}
|
||||
|
||||
location /.well-known/matrix/client {
|
||||
return 200 '{"m.homeserver": {"base_url": "https://chat.exozy.me"}}';
|
||||
default_type application/json;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
}
|
||||
|
||||
location /.well-known/webfinger {
|
||||
return 301 https://social.exozy.me$request_uri;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue