How shepard86rus/3x-ui-dual-domain works
This repository provides a server installer and health checker for a two-domain 3x-ui deployment. The principal workflow is: an administrator prepares DNS and runs install, completes the documented panel setup, runs healthcheck, then distributes subscription details to clients. The README also documents backup/restore, upgrades, optional XHTTP and a Telegram bot. The main installer’s implementation was not sampled, so its documented responsibilities share the installer path; relationships below are based on README statements, not inspected runtime calls.
Main entry points: 3x-ui-dual-domain.sh Installer · tgbot-hub.sh Hub bot tools · patch-hub.py Hub patcher · hub-clients.sh Hub client module
Components 21
Setup and operations
- Installer
3x-ui-dual-domain.sh - Domain and DNS
- Panel setup
- Healthcheck
3x-ui-dual-domain.sh - Backup and restore
3x-ui-dual-domain.sh - Script upgrade
3x-ui-dual-domain.sh - Panel tunnel
3x-ui-dual-domain.sh
Network services
- Nginx and decoys
3x-ui-dual-domain.sh - Xray Reality
3x-ui-dual-domain.sh - Hysteria2
3x-ui-dual-domain.sh - Firewall and fail2ban
3x-ui-dual-domain.sh - Certificates
3x-ui-dual-domain.sh - XHTTP entry
3x-ui-dual-domain.sh
Client access
- AmneziaWG
3x-ui-dual-domain.sh - Subscriptions
3x-ui-dual-domain.sh - Client apps
Optional automation
- Telegram bot
3x-ui-dual-domain.sh - Hub bot tools
tools/hub/tgbot-hub.sh - Hub client module
tools/hub/hub-clients.sh - Hub patcher
tools/hub/patch-hub.py
Other components
- Administrator
Connections 20
- Administrator → Domain and DNS: prepares domains
README.md - Administrator → Installer: runs install
README.md - Installer → Nginx and decoys: configures
README.md - Installer → Xray Reality: configures
README.md - Installer → Hysteria2: configures
README.md - Installer → Firewall and fail2ban: configures
README.md - Installer → Certificates: creates
README.md - Installer → Subscriptions: creates
README.md - Installer → AmneziaWG: enables
README.md - Installer → XHTTP entry: optionally configures
README.md - Administrator → Panel setup: completes setup
README.md - Administrator → Healthcheck: runs checks
README.md - Administrator → Backup and restore: backs up or restores
README.md - Administrator → Script upgrade: runs upgrade
README.md - Administrator → Panel tunnel: opens panel tunnel
README.md - Administrator → Subscriptions: shares subscription
README.md - Subscriptions → Client apps: client imports
README.md - Administrator → Telegram bot: optionally enables
README.md - Hub patcher → Hub bot tools: patches copy
tools/hub/patch-hub.py - Hub bot tools → Hub client module: loads module