Update Matrix URL

This commit is contained in:
Jimbo 2025-03-04 17:24:48 -05:00
parent b4be34b23e
commit 8a917e5aec
8 changed files with 30 additions and 34 deletions

View file

@ -11,6 +11,19 @@
enableACME = true;
addSSL = true;
globalRedirect = "www.nixfox.ca";
locations = {
"/.well-known/matrix/client".extraConfig = ''
default_type application/json;
return 200 '{
"m.homeserver": { "base_url": "https://matrix.nixfox.ca" },
"m.identity_server": { "base_url": "https://matrix.org" }
}';
'';
"/.well-known/matrix/server".extraConfig = ''
default_type application/json;
return 200 '{ "m.server": "matrix.nixfox.ca:443" }';
'';
};
};
};
}