домены: реестр xlib.net.domains + синхронизация webDomain 3x-ui (T63, ADR-0012)
nixos flake checks / invariant-checks (push) Successful in 1m44s
test-runner / smoke (push) Successful in 1s

- lib/xlib/net.nix: domains.public/opencodes/internal/ad; все живые
  хостнеймы выводятся из реестра (nginx, coredns, authelia, nextcloud,
  gitea, vds, netbird, open-webui, opencode, nix-cache). Литералы — только
  в комментариях/example/email/trusted-key и в БД панели.
- 3xui-domain-sync.service: before+wantedBy podman-3xui_app, идемпотентно
  приводит settings.webDomain к host."3x-ui".certDomain ДО старта панели
  (R1.19/инвариант 19); контейнер сам не перезапускает.
- config-fingerprint до/после: значения не изменились — 0 отличий на
  rydiwo/atoridu/wsl, на sapphira/otreca только новый юнит и unitConfig.
- epral: убран nginx-mainline из strictModule (nix-on-droid не вычислялся
  с 5712abb); в AGENTS.md исправлен вывод (build.activationPackage) и
  добавлен --impure — T64 (проверить сборку на устройстве).
- .agent: закрыты T10/T49/T50/T54, добавлены T63 (done) и T64 (pending),
  ADR-0012; phases в manifest.json синхронизированы с checkpoints.json.
This commit is contained in:
oqyude committed 2026-11-26 20:16:09 +03:00
1 parent d2692b752b
commit ae760f6ab4
28 files changed
+538 -133

No files matched your search

+3 -3
View File
@@ -67,13 +67,13 @@
# there are other vhosts on the same port). Cert is still mounted in
# case 3x-ui is later reconfigured to terminate TLS itself (e.g. for
# direct node-API access); nginx doesn't have to use it.
host."3x-ui".certDomain = "x.zeroq.su";
host."3x-ui".certDomain = "x.${xlib.net.domains.public}";
# Authelia SSO — currently protects vtimeline.zeroq.su (replaces the
# previous nginx auth_basic htpasswd). Cookie domain is .zeroq.su so a
# single Authelia session covers every protected vhost under the zone.
host.authelia = {
enable = true;
cookieDomain = "zeroq.su";
cookieDomain = xlib.net.domains.public;
};
# ──────────────────────────────────────────────────────────────────────
@@ -141,7 +141,7 @@
Type = "oneshot";
ExecStart = lib.getExe config.modules."3x-ui".reconfigRunner;
Environment = [
"PANEL_URL=https://x.zeroq.su"
"PANEL_URL=https://x.${xlib.net.domains.public}"
];
};
};