matrix updates
This commit is contained in:
parent
e8a9e2cf21
commit
5156dcc859
@ -15,21 +15,13 @@
|
|||||||
names = [ "federation" ];
|
names = [ "federation" ];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
tls = true;
|
|
||||||
type = "http";
|
type = "http";
|
||||||
x_forwarded = false;
|
tls = false;
|
||||||
|
x_forwarded = true;
|
||||||
}];
|
}];
|
||||||
registration_shared_secret = config.secrets.matrix.shared_secret;
|
registration_shared_secret = config.secrets.matrix.shared_secret;
|
||||||
public_baseurl = "https://balsoft.ru:13748/";
|
public_baseurl = "http://balsoft.ru";
|
||||||
server_name = "balsoft.ru";
|
server_name = "balsoft.ru";
|
||||||
tls_certificate_path = toString (pkgs.writeTextFile {
|
|
||||||
name = "matrix.crt";
|
|
||||||
text = config.secrets.ssl.cert;
|
|
||||||
});
|
|
||||||
tls_private_key_path = toString (pkgs.writeTextFile {
|
|
||||||
name = "matrix_rsa";
|
|
||||||
text = config.secrets.ssl.priv;
|
|
||||||
});
|
|
||||||
app_service_config_files = [
|
app_service_config_files = [
|
||||||
(builtins.toFile "registration_tg.yaml"
|
(builtins.toFile "registration_tg.yaml"
|
||||||
(builtins.toJSON config.secrets.matrix.mautrix-telegram.registration))
|
(builtins.toJSON config.secrets.matrix.mautrix-telegram.registration))
|
||||||
|
@ -14,9 +14,9 @@
|
|||||||
root = "/var/lib/balsoft.ru";
|
root = "/var/lib/balsoft.ru";
|
||||||
index = "index.txt";
|
index = "index.txt";
|
||||||
};
|
};
|
||||||
locations."/.well-known".proxyPass = "https://localhost:13748";
|
locations."/.well-known".proxyPass = "http://localhost:13748";
|
||||||
locations."/_matrix" = {
|
locations."/_matrix" = {
|
||||||
proxyPass = "https://localhost:13748";
|
proxyPass = "http://localhost:13748";
|
||||||
};
|
};
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
@ -28,7 +28,7 @@
|
|||||||
locations."/" = { proxyPass = "http://localhost:5000"; };
|
locations."/" = { proxyPass = "http://localhost:5000"; };
|
||||||
} // default;
|
} // default;
|
||||||
"matrix.balsoft.ru" = {
|
"matrix.balsoft.ru" = {
|
||||||
locations."/" = { proxyPass = "https://localhost:13748"; };
|
locations."/" = { proxyPass = "http://localhost:13748"; };
|
||||||
} // default;
|
} // default;
|
||||||
"share.balsoft.ru" = {
|
"share.balsoft.ru" = {
|
||||||
locations."/" = { root = "/var/lib/share"; };
|
locations."/" = { root = "/var/lib/share"; };
|
||||||
|
BIN
secret.nix
BIN
secret.nix
Binary file not shown.
Loading…
Reference in New Issue
Block a user