- Create secubox-app-vhost-manager package for unified vhost orchestration - Single CLI tool (secubox-vhost) manages HAProxy, DNS, Tor, Mesh, mitmproxy - Unified UCI config (/etc/config/vhosts) as single source of truth - Backend adapters for each component (haproxy.sh, dns.sh, tor.sh, mesh.sh, mitmproxy.sh) - Centralized backend resolution function (backends.sh) - Import tool for existing HAProxy vhosts - Validation of backend reachability before creation Also includes: - FAQ-TROUBLESHOOTING.md with LXC cgroup v1/v2 fixes - Fix mitmproxyctl cgroup v1 -> v2 syntax for container compatibility - HAProxy backend resolution bugfixes CLI commands: secubox-vhost add <domain> <service> <port> [--ssl] [--tor] [--mesh] secubox-vhost remove/list/status/enable/disable/set/sync/validate/import Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
24 lines
544 B
Plaintext
24 lines
544 B
Plaintext
# SecuBox Centralized VHost Manager Configuration
|
|
|
|
config vhosts 'main'
|
|
option enabled '1'
|
|
option default_ssl '1'
|
|
option default_ssl_redirect '1'
|
|
option default_acme '1'
|
|
option default_mitmproxy '1'
|
|
|
|
# Example vhost (commented out)
|
|
#config vhost 'example'
|
|
# option domain 'app.example.com'
|
|
# option service 'myapp'
|
|
# option backend_host '127.0.0.1'
|
|
# option backend_port '8080'
|
|
# option enabled '1'
|
|
# option haproxy '1'
|
|
# option ssl '1'
|
|
# option ssl_redirect '1'
|
|
# option acme '1'
|
|
# option tor '0'
|
|
# option mesh '0'
|
|
# option mitmproxy '1'
|