secubox-deb/.claude
CyberMind-FR 675fcd482f docs: codify dual-vhost MUST for modules with a real web UI
Anchor the pattern that secubox-lyrion v1.1.0 demonstrated (admin
static page on the canonical hub vhost + real app served at the root
of its own dedicated vhost) as a REQUIRED rule across the docs:

- docs/MODULE-GUIDELINES.md §4 — new "REQUIRED: dual-vhost pattern"
  subsection with the URL table, the JS pattern for reading the
  public URL from /access, and the explicit forbidden anti-pattern
  (`proxy_pass /<module>/ → app LXC`).
- docs/MODULE-GUIDELINES.md §5 — nginx template updated: `/<module>/`
  is `alias` (static), the dedicated vhost is a separate file. The
  previous "Iframe pattern for LXC web UIs" + "LXC daemon iframe
  target" sections are flagged deprecated.
- .claude/PATTERNS.md Pattern 12 — same rule reproduced for the
  Claude-facing pattern catalog with the source-of-truth JS snippet.
- .claude/HISTORY.md + .claude/WIP.md — entry for today's three-
  module alignment (lyrion 1.1.0 + zigbee + authelia).
- wiki/Architecture.md — short reference + pointer back to
  MODULE-GUIDELINES.
- packages/secubox-lyrion/README.md — adds the URLs table at the top.
- packages/secubox-zigbee/README.md — was a verbatim copy of the
  lyrion README, rewritten as a proper zigbee README with the new
  URLs table + API surface + ports + files.
- packages/secubox-authelia/README.md — Quickstart points at
  sso.gk2.secubox.in (was auth.maegia.tv); URLs table added.

The forbidden anti-pattern catches LMS Material, Nextcloud,
Grafana, z2m and any future module whose UI uses absolute asset
URLs — incident on gk2 2026-05-24, see secubox-lyrion 1.1.0
changelog.
2026-05-24 10:06:56 +02:00
..
configs feat(packages): Sync source packages with MOCHAbin deployed configs 2026-05-06 09:22:29 +02:00
plans feat(ui): Add global health banner with smart doctor advisor 2026-05-10 07:10:54 +02:00
skills docs: Add Eye Remote Multigadget skill and wiki 2026-05-10 09:12:42 +02:00
ASYNC-PRECACHE-PATTERN.md feat(hub): Sidebar v2.17.1 AOPC pattern + login fixes 2026-05-08 14:26:50 +02:00
CLAUDE.md docs(license): update Python/Bash convention examples to CMSD SPDX header (ref #81) 2026-05-12 10:03:46 +02:00
DESIGN-CHARTER.md docs: Apply SecuBox Charte Graphique to wiki pages 2026-04-08 17:15:28 +02:00
DEVOPS-SPEC.md feat: modular nginx config + hub roadmap + new modules 2026-03-21 20:34:01 +01:00
HEALTH-DOCTOR-PATTERN.md feat(ui): Universal hybrid-skin theme with global status/menu bars 2026-05-08 16:42:51 +02:00
HISTORY.md docs: codify dual-vhost MUST for modules with a real web UI 2026-05-24 10:06:56 +02:00
MIGRATION-MAP.md Health banner: live panel (visitor-origin + live-hosts + cert-status) (#98) 2026-05-12 16:27:56 +02:00
MIGRATION-STATUS.md feat(mail): Debian LXC containers for Postfix/Dovecot/Roundcube 2026-03-22 10:40:00 +01:00
MOCKUPS-WEBUI-REWORK.md feat(ui): Universal hybrid-skin theme with global status/menu bars 2026-05-08 16:42:51 +02:00
MODULE-COMPLIANCE.md feat: Complete Phase 8, 9, 10 - all modules done 2026-04-08 14:46:58 +02:00
NOTES.md fix(soc): Prevent negative SVG radius, add null checks 2026-05-09 06:58:57 +02:00
PATTERNS.md docs: codify dual-vhost MUST for modules with a real web UI 2026-05-24 10:06:56 +02:00
PLAN-EYE-REMOTE-RECOVERY.md feat(migration): Add OpenWrt → SecuBox-DEB migration tools 2026-04-29 12:45:47 +02:00
QUICKSHEET-REFERENCE.md feat(kernel): Add complete nftables support + busybox rescue docs 2026-05-08 18:27:30 +02:00
REMAINING-PACKAGES.md feat(phase8): Add LXC-based application modules 2026-03-28 09:41:15 +01:00
TODO.md fix(lxc-modules): 9 board-deployment fixes for grafana/yacy/rustdesk install-lxc.sh + nginx wiring (#238) 2026-05-20 09:21:48 +02:00
WIKI-STYLE-GUIDE.md docs: Apply SecuBox Charte Graphique to wiki pages 2026-04-08 17:15:28 +02:00
WIP.md docs: codify dual-vhost MUST for modules with a real web UI 2026-05-24 10:06:56 +02:00