add all the matrix well-knowns
This commit is contained in:
parent
bc3093eccb
commit
7425dc1baa
1 changed files with 15 additions and 0 deletions
|
@ -11,6 +11,12 @@ in mkIf conf.matrix.enable {
|
||||||
"/.well-known/matrix/server" = {
|
"/.well-known/matrix/server" = {
|
||||||
return = "200 '{\"m.server\": \"matrix.twoneis.site:443\"}'";
|
return = "200 '{\"m.server\": \"matrix.twoneis.site:443\"}'";
|
||||||
};
|
};
|
||||||
|
"/.well-known/matrix/client" = {
|
||||||
|
return = "200 '{\"m.homeserver\": {\"base_url\": \"https://matrix.twoneis.site\"}, \"org.matrix.msc3575.proxy\": {\"url\": \"https://matrix.twoneis.site\"}}'";
|
||||||
|
};
|
||||||
|
"/.well-known/matrix/support" = {
|
||||||
|
return = "200 '{\"contacts\": [{\"matrix_id\": \"@mira:twoneis.site\", \"email_address\": \"matrix@chpu.eu\", \"role\": \"m.role.admin\"}]}'";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"matrix.twoneis.site" = {
|
"matrix.twoneis.site" = {
|
||||||
|
@ -32,6 +38,15 @@ in mkIf conf.matrix.enable {
|
||||||
"/" = {
|
"/" = {
|
||||||
proxyPass = "http://localhost:6167";
|
proxyPass = "http://localhost:6167";
|
||||||
};
|
};
|
||||||
|
"/.well-known/matrix/server" = {
|
||||||
|
return = "200 '{\"m.server\": \"matrix.twoneis.site:443\"}'";
|
||||||
|
};
|
||||||
|
"/.well-known/matrix/client" = {
|
||||||
|
return = "200 '{\"m.homeserver\": {\"base_url\": \"https://matrix.twoneis.site\"}, \"org.matrix.msc3575.proxy\": {\"url\": \"https://matrix.twoneis.site\"}}'";
|
||||||
|
};
|
||||||
|
"/.well-known/matrix/support" = {
|
||||||
|
return = "200 '{\"contacts\": [{\"matrix_id\": \"@mira:twoneis.site\", \"email_address\": \"matrix@chpu.eu\", \"role\": \"m.role.admin\"}]}'";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue