fix: headers ixvd site
This commit is contained in:
parent
0842e5e570
commit
c310e772b4
1 changed files with 2 additions and 0 deletions
|
@ -8,10 +8,12 @@ server {
|
|||
|
||||
# matrix
|
||||
location /.well-known/matrix/server {
|
||||
add_header Content-Type application/json;
|
||||
return 200 '{ "m.server": "matrix.ixvd.net:443" }';
|
||||
}
|
||||
|
||||
location /.well-known/matrix/client {
|
||||
add_header Content-Type application/json;
|
||||
add_header Access-Control-Allow-Origin '*';
|
||||
return 200 '{ "m.homeserver": { "base_url": "https://matrix.ixvd.net" } }';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue