secubox-deb/packages/secubox-vhost
CyberMind-FR 6b7d7f8607 fix(#623): shared /run|/var/lib|/var/cache|/etc/secubox parents stay 1777/0755 in all postinsts
Systemic clobber: the scaffold boilerplate (install -d -m 750 /var/lib/secubox,
/run/secubox) put restrictive modes on SHARED parents in ~56 module postinsts,
reverting them to 0750 on every install/upgrade and breaking traversal for
non-secubox daemons (kbin/toolbox 500). Empirically confirmed install -d -m only
modes the final component, so /parent/leaf forms are harmless — only bare-parent
targets were rewritten. Multi-arg lines (incl. ones making /var/lib world-writable
1777) split per-parent: /run/secubox=1777 root:root, /var/lib|cache|etc=0755
secubox:secubox; module-private leaves keep 0750. Scaffold + PATTERNS.md fixed so
new packages don't reintroduce it.
2026-06-18 10:32:58 +02:00
..
api
debian fix(#623): shared /run|/var/lib|/var/cache|/etc/secubox parents stay 1777/0755 in all postinsts 2026-06-18 10:32:58 +02:00
menu.d
nginx
sbin
www/vhost
README.md

🏗️ Virtual Hosts

Nginx virtual host management

Category: Network

Screenshot

Virtual Hosts

Features

  • Site management
  • SSL certificates
  • Reverse proxy
  • Let's Encrypt

Installation

# Add SecuBox repository
curl -fsSL https://apt.secubox.in/install.sh | sudo bash

# Install package
sudo apt install secubox-vhost

Configuration

Configuration file: /etc/secubox/vhost.toml

API Endpoints

  • GET /api/v1/vhost/status - Module status
  • GET /api/v1/vhost/health - Health check

License

MIT License - CyberMind © 2024-2026