mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-29 22:07:24 +00:00
User asked for control + status metrics at /auth/ instead of an
iframe-redirect, plus a public portal vhost sso.gk2.secubox.in for
multi-SP single-sign-on across SecuBox apps.
* secubox-authelia v1.0.9
- nginx/authelia.conf: /auth/ on the canonical hub vhost becomes a
static alias to /usr/share/secubox/www/authelia/ (operator
dashboard). Used to reverse-proxy the Authelia LXC portal.
- nginx/authelia.conf: @sbx_auth_login redirects to
https://sso.gk2.secubox.in/?rd=… (the new public portal vhost).
- nginx/authelia-vhost.conf: new server block sso.gk2.secubox.in,
reverse-proxying / → /auth/ → Authelia LXC 10.100.0.20:9091.
Wildcard *.gk2.secubox.in.pem cert already covers it.
- www/authelia/index.html: rewrite as the SecuBox AUTH config
module (Charter AUTH palette #C04E24). Surfaces service state,
version, user count, cookie scopes, access rules. Was a
Lyrion-template copy-paste stub.
- lib/authelia/install-lxc.sh: session.cookies[] for the hub
domain now sets authelia_url to sso.${SECUBOX_HUB_DOMAIN}.
* secubox-nextcloud v1.3.3, secubox-zigbee v2.5.4, secubox-lyrion v1.0.9
- Their @sbx_auth_login redirects now target
https://sso.gk2.secubox.in/?rd=… for login.
Deploy-side follow-up (operator):
- DNS sso.gk2.secubox.in → board public IP
- mitmproxy routes JSON: add sso.gk2.secubox.in → [192.168.1.200, 9080]
- haproxyctl vhost add sso.gk2.secubox.in mitmproxy_inspector
(+ workaround for #286 — re-append the backends)
- ln -s ../sites-available/authelia.conf /etc/nginx/sites-enabled/
- Re-apply install-lxc.sh OR sed-patch the live /etc/authelia/configuration.yml
inside the LXC to repoint authelia_url.
Co-authored-by: CyberMind-FR <gandalf@Gk2.net>
|
||
|---|---|---|
| .. | ||
| api | ||
| conf | ||
| debian | ||
| menu.d | ||
| nginx | ||
| sbin | ||
| www/nextcloud | ||
| README.md | ||
☁️ Nextcloud
File sync (LXC)
Category: Services
Screenshot
Features
- File sync
- WebDAV
- CalDAV
- CardDAV
- Talk
Installation
# Add SecuBox repository
curl -fsSL https://apt.secubox.in/install.sh | sudo bash
# Install package
sudo apt install secubox-nextcloud
Configuration
Configuration file: /etc/secubox/nextcloud.toml
API Endpoints
GET /api/v1/nextcloud/status- Module statusGET /api/v1/nextcloud/health- Health check
License
MIT License - CyberMind © 2024-2026
