fix: run VLESS Reality on Xray instead of sing-box for v2rayN

sing-box Hy2 stays on 8443+; port 443 VLESS uses Xray which pairs reliably with v2rayN/Xray-core clients.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-16 11:56:22 +08:00
parent 5685b869dc
commit c9895133cb
9 changed files with 305 additions and 39 deletions
+4 -2
View File
@@ -68,8 +68,10 @@ if [[ -f "$ENV_FILE" ]]; then
fi
echo "已写入 $ENV_FILE"
echo ""
echo "重要: 密钥已变更,必须重新生成 sing-box 配置并重启:"
echo " python3 ${ROOT_DIR}/scripts/render-server.py && systemctl restart sing-box"
echo "重要: 密钥已变更,必须重新生成配置并重启:"
echo " python3 ${ROOT_DIR}/scripts/render-xray.py"
echo " python3 ${ROOT_DIR}/scripts/render-server.py"
echo " systemctl restart xray sing-box"
else
echo "提示: 先复制 .env.example 为 .env 并填写 VPS_IP、DOMAIN 等,再重新运行本脚本" >&2
fi