3x-ui 式共享节点改造:nodes 状态机 + nodeClients 各自凭据

- 移除 VMess 协议
- VLESS/SS2022 按用户流量统计(AnyTLS 日志解析,SS 节点级)
- sing-box v2ray_api stats 支持
- 内存优化:面板 128M,agent 64M,sing-box 64M
This commit is contained in:
Muse
2026-10-19 22:23:40 +08:00
parent 1678f766ac
commit 084afeb8f4
35 changed files with 2142 additions and 1749 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
[Unit]
Description=NexusGate node agent
After=network-online.target nexusgate-xray.service
After=network-online.target nexusgate-sing-box.service
Wants=network-online.target
[Service]
Type=simple
EnvironmentFile=/etc/nexusgate/agent.env
ExecStart=/usr/bin/node /opt/nexusgate-agent/agent.js
ExecStart=/usr/bin/node --max-old-space-size=64 --optimize-for-size /opt/nexusgate-agent/agent.js
Restart=always
RestartSec=5
NoNewPrivileges=true