mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-28 21:17:36 +00:00
|
…
|
||
|---|---|---|
| .. | ||
| debian | ||
| etc/default | ||
| README.md | ||
secubox-defaults
Ships /etc/default/secubox, the single source of truth for the SecuBox
board identity:
SECUBOX_HOSTNAME— short board name (e.g.gk2).SECUBOX_DOMAIN_SUFFIX— domain root (e.g.secubox.in).
Composed canonical admin URL: https://admin.${SECUBOX_HOSTNAME}.${SECUBOX_DOMAIN_SUFFIX}/.
Consumers (secubox-haproxy API, render scripts, …) read this file at startup
and refresh on dpkg-trigger secubox-defaults-changed.
After hand-editing /etc/default/secubox:
curl -fsS -X POST --unix-socket /run/secubox/haproxy.sock \
http://localhost/webui/refresh
/usr/local/bin/secubox-render-nginx-webui
/usr/local/bin/secubox-haproxy-regen-safe