fix: headers ixvd site

This commit is contained in:
Strix 2023-11-03 01:09:37 +01:00
parent 0842e5e570
commit c310e772b4
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

View file

@ -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" } }';
}