fix?
This commit is contained in:
parent
2665bbb58f
commit
7001847751
2 changed files with 12 additions and 5 deletions
|
|
@ -65,15 +65,22 @@ rec {
|
|||
reverse_proxy = {
|
||||
port = 6167;
|
||||
ssl = true;
|
||||
endpoints = ["/_matrix"];
|
||||
};
|
||||
domainOverride = "v2202603344638441294.bestsrv.de";
|
||||
};
|
||||
};
|
||||
|
||||
dnsMappings = builtins.listToAttrs (map (name: {
|
||||
dnsMappings = (lib.filterAttrs (
|
||||
name: value: !(value ? domainOverride))
|
||||
builtins.listToAttrs (
|
||||
map (name: {
|
||||
name = "${name}.${local_domain}";
|
||||
value = services.${name}.ip;
|
||||
}) (builtins.attrNames services));
|
||||
})
|
||||
(builtins.attrNames services)
|
||||
)
|
||||
);
|
||||
|
||||
reverse_proxy = lib.filterAttrs (name: value: value ? reverse_proxy) services;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue