准备一个域名和一个服务器

安装/更新方式(Nginx 前置)

支持配置方式

  • VLESS + TCP + TLS + Nginx + WebSocket
  • wget -N --no-check-certificate -q -O install.sh "https://raw.githubusercontent.com/wulabing/Xray_onekey/nginx_forward/install.sh" && chmod +x install.sh && bash install.sh

     

    安装/更新方式(Xray 前置)

    支持配置方式

    • VLESS + TCP + XTLS / TLS + Nginx

    • VLESS + TCP + XTLS / TLS + Nginx 及 VLESS + TCP + TLS + Nginx + WebSocket 回落并存模式

    • wget -N --no-check-certificate -q -O install.sh "https://raw.githubusercontent.com/wulabing/Xray_onekey/main/install.sh" && chmod +x install.sh && bash install.sh

      启动方式

      启动 Xray:systemctl start xray

      停止 Xray:systemctl stop xray

      启动 Nginx:systemctl start nginx

      停止 Nginx:systemctl stop nginx

      相关目录

      Web 目录:/www/xray_web

      Xray 服务端配置:/usr/local/etc/xray/config.json

      Nginx 目录: /etc/nginx

      证书文件: /ssl/xray.key(私钥)和 /ssl/xray.crt(证书公钥)

作者 admin

发表评论

您的电子邮箱地址不会被公开。