mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat: move from element to cinny for webui
This commit is contained in:
parent
96f9cf36b6
commit
6755dc9ff8
1 changed files with 8 additions and 7 deletions
|
|
@ -295,22 +295,23 @@ CONFIG = {
|
|||
|
||||
deploy.tf.dns.records.services_element = {
|
||||
inherit (config.network.dns) zone;
|
||||
domain = "element";
|
||||
domain = "matrix";
|
||||
cname = { inherit (config.network.addresses.public) target; };
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."element.${config.network.dns.domain}" = {
|
||||
services.nginx.virtualHosts."matrix.${config.network.dns.domain}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
extraConfig = ''
|
||||
keepalive_requests 100000;
|
||||
'';
|
||||
root = pkgs.element-web.override {
|
||||
root = pkgs.cinny.override {
|
||||
conf = {
|
||||
default_server_config."m.homeserver" = {
|
||||
"base_url" = "https://${config.network.dns.domain}:443";
|
||||
"server_name" = "kittywit.ch";
|
||||
};
|
||||
defaultHomeserver = 1;
|
||||
homeserverList = [
|
||||
"kittywit.ch"
|
||||
];
|
||||
allowCustomHomeservers = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue