fix: use synapse and nfty for matrix and federation

This commit is contained in:
Jet Pham 2026-02-23 23:01:26 -08:00
parent 75a49c7516
commit 7795be78c5
No known key found for this signature in database
7 changed files with 68 additions and 1 deletions

View file

@ -22,6 +22,11 @@
header Content-Type "application/json"
respond `{"m.homeserver": {"base_url": "https://matrix.extremist.software"}}`
}
handle /.well-known/matrix/support {
header Access-Control-Allow-Origin "*"
header Content-Type "application/json"
respond `{"admins": [{"matrix_id": "@jet:extremist.software","role": "admin"}]}`
}
handle {
redir https://jetpham.com{uri}
}
@ -59,6 +64,12 @@
'';
};
"ntfy.extremist.software" = {
extraConfig = ''
reverse_proxy localhost:2586
'';
};
"matrix.extremist.software" = {
extraConfig = ''
reverse_proxy /_matrix/* 127.0.0.1:8008