fix: use synapse and nfty for matrix and federation
This commit is contained in:
parent
75a49c7516
commit
7795be78c5
7 changed files with 68 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue