refactor(reverse-proxy): use route registry

This commit is contained in:
2026-08-23 23:44:22 -04:00
parent c267a2ec5c
commit e339d5a289
9 changed files with 303 additions and 326 deletions

View File

@@ -32,6 +32,11 @@ in
{
inherit definitions;
join = registry: host: entry:
filterAttrs (_name: value: value != null) (
mapAttrs (_name: hostEntriesByName: (hostEntriesByName.${host} or { }).${entry} or null) registry
);
module = {
options.registry = mapAttrs (_name: registry: registryOption registry) definitions;
};