Add notices to matrix, redirect matrix subservices to full paths
This commit is contained in:
parent
7ba58ec4f6
commit
154e79b9fd
2 changed files with 12 additions and 0 deletions
|
@ -106,6 +106,9 @@ in {
|
|||
reverse_proxy :${toString settings.ports.mautrix-telegram}
|
||||
}
|
||||
|
||||
redir /telegram /telegram/
|
||||
redir /synapse-admin /synapse-admin/
|
||||
|
||||
handle_path /synapse-admin* {
|
||||
root * ${pkgs.synapse-admin}
|
||||
file_server
|
||||
|
|
|
@ -746,6 +746,15 @@ in {
|
|||
max_upload_size = "250M";
|
||||
server_name = "catnip.ee";
|
||||
public_baseurl = "https://matrix.catnip.ee/";
|
||||
|
||||
server_notices = {
|
||||
system_mxid_localpart = "server";
|
||||
system_mxid_display_name = "Server Notices";
|
||||
system_mxid_avatar_url = "mxc://catnip.ee/LhehrbXOjfnhaJvFEWsXPtnm";
|
||||
room_name = "Server Notices";
|
||||
auto_join = true;
|
||||
};
|
||||
|
||||
database = {
|
||||
name = "psycopg2";
|
||||
args = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue