expose Matrix admin APIs restricted to trusted networks
This is needed to have element-admin work.
This commit is contained in:
parent
27777156aa
commit
5a33261482
2 changed files with 42 additions and 0 deletions
|
@ -33,6 +33,17 @@ let
|
|||
}];
|
||||
proxy_protocol = false;
|
||||
}
|
||||
{
|
||||
name = "admin";
|
||||
resources = [{
|
||||
name = "adminapi";
|
||||
}];
|
||||
binds = [{
|
||||
host = "localhost";
|
||||
port = 8082;
|
||||
}];
|
||||
proxy_protocol = false;
|
||||
}
|
||||
];
|
||||
trusted_proxies = [
|
||||
"127.0.0.1/8"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue