secubox-deb/packages/secubox-soc-web
CyberMind 64f89ebf43
fix(secubox-soc-web): remove duplicate /soc/ location from nginx snippet (closes #163) (#166)
The snippet at `debian/secubox-soc-web.nginx.conf` (installed to
`/etc/nginx/secubox.d/soc-web.conf`) declared `location /soc/` —
duplicating the same location that already exists inline in
`secubox-hub`'s `sites-enabled/webui.conf`. Combined with a third orphan
file `/etc/nginx/secubox.d/soc.conf` (from a now-removed package — no
source in the repo), this triple-defined `/soc/` in a single server
block, making every `nginx -t` fail with:

  [emerg] duplicate location "/soc/" in /etc/nginx/secubox.d/soc.conf:3

That failure silently no-op'd every `systemctl reload nginx` for days,
until a full `systemctl restart nginx` finally surfaced it (during the
#156 deploy — 4-min outage cascade with #162).

Fix:
  - The `/soc/` static-serving block is removed from this package's
    snippet. The block in webui.conf (owned by secubox-hub) is the
    canonical static serving location.
  - The unique `/api/v1/soc-gateway/` proxy is preserved here — that's
    legitimately specific to soc-web.

Operator note: any orphan `/etc/nginx/secubox.d/soc.conf` on existing
boards must be cleaned manually (no package owns it).

Changelog bumped to 1.1.1-1.

Co-authored-by: CyberMind-FR <gandalf@Gk2.net>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-17 07:53:00 +02:00
..
debian fix(secubox-soc-web): remove duplicate /soc/ location from nginx snippet (closes #163) (#166) 2026-05-17 07:53:00 +02:00
public feat(soc): Add hierarchical SOC system with multi-tier deployment 2026-04-01 07:08:08 +02:00
src feat(soc): Add hierarchical SOC system with multi-tier deployment 2026-04-01 07:08:08 +02:00
index.html feat(soc): Add hierarchical SOC system with multi-tier deployment 2026-04-01 07:08:08 +02:00
package-lock.json feat(soc): Add hierarchical SOC system with multi-tier deployment 2026-04-01 07:08:08 +02:00
package.json feat(soc): Add hierarchical SOC system with multi-tier deployment 2026-04-01 07:08:08 +02:00
tsconfig.json feat(soc): Add hierarchical SOC system with multi-tier deployment 2026-04-01 07:08:08 +02:00
tsconfig.node.json feat(soc): Add hierarchical SOC system with multi-tier deployment 2026-04-01 07:08:08 +02:00
vite.config.ts feat(soc): Add hierarchical SOC system with multi-tier deployment 2026-04-01 07:08:08 +02:00