mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-29 12:34:38 +00:00
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> |
||
|---|---|---|
| .. | ||
| debian | ||
| public | ||
| src | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||