Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3343a338e2 | ||
|
|
3c96e0fa12 |
@@ -37,6 +37,18 @@ http {
|
||||
add_header 'Content-Type' 'application/json';
|
||||
return 200 '{"status":"OK"}';
|
||||
}
|
||||
|
||||
location /.well-known/matrix/server {
|
||||
default_type application/json;
|
||||
add_header "Access-Control-Allow-Origin" *;
|
||||
return 200 '{"m.server": "matrix.fizz.buzz:8448"}';
|
||||
}
|
||||
|
||||
location /.well-known/matrix/client {
|
||||
default_type application/json;
|
||||
add_header "Access-Control-Allow-Origin" *;
|
||||
return 200 '{"m.homeserver":{"base_url": "https://matrix.fizz.buzz"}}';
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user