secubox-deb/packages/secubox-haproxy
CyberMind feab3c8238
fix(secubox-haproxy): v1.3.0 — atomic cmd_generate + always-emit canonical backends + cfg.d extras (closes #286) (#316)
Recurring "broken-by-vhost-add" bug: every haproxyctl vhost add ran
cmd_generate which wiped operator-added backends (nginx_vhosts,
gitea_ssh, webui-lan, …) and emitted the wrong cert path.

cmd_generate now:
 - Writes to a tempfile, validates haproxy -c -f, then atomically
   installs via install(1). Live cfg is LEFT UNTOUCHED on failure.
 - DATA_PATH defaults to /data/haproxy (charter), /srv/haproxy
   fallback. HAPROXY_DATA_PATH env override.
 - Always emits mitmproxy_inspector + nginx_vhosts + webui_direct
   regardless of waf_enabled.
 - Reads /etc/haproxy/cfg.d/*.cfg as operator extras and appends them
   verbatim — webui-lan, gitea-ssh etc. survive regens.

Co-authored-by: CyberMind-FR <gandalf@Gk2.net>
2026-05-21 11:18:53 +02:00
..
api fix(secubox-haproxy): drop JWT from /webui/nginx-config (postinst-friendly) 2026-05-12 14:10:17 +02:00
debian fix(secubox-haproxy): v1.3.0 — atomic cmd_generate + always-emit canonical backends + cfg.d extras (closes #286) (#316) 2026-05-21 11:18:53 +02:00
menu.d feat(navbar): consolidate to 6 charter categories + fix dropped menu entries (closes #306) (#307) 2026-05-21 10:03:05 +02:00
nginx feat: modular nginx config + hub roadmap + new modules 2026-03-21 20:34:01 +01:00
sbin fix(secubox-haproxy): v1.3.0 — atomic cmd_generate + always-emit canonical backends + cfg.d extras (closes #286) (#316) 2026-05-21 11:18:53 +02:00
tests fix(secubox-haproxy): drop JWT from /webui/nginx-config (postinst-friendly) 2026-05-12 14:10:17 +02:00
www/haproxy feat(ui): Universal hybrid-skin theme with global status/menu bars 2026-05-08 16:42:51 +02:00
README.md docs: Add Eye Remote Multigadget skill and wiki 2026-05-10 09:12:42 +02:00

HAProxy

Load balancer with TLS 1.3

Category: Network

Screenshot

HAProxy

Features

  • Backend management
  • Stats
  • ACLs
  • SSL termination
  • Health checks

Installation

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

# Install package
sudo apt install secubox-haproxy

Configuration

Configuration file: /etc/secubox/haproxy.toml

API Endpoints

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

License

MIT License - CyberMind © 2024-2026