The Wayback Machine - https://web.archive.org/web/20210912134223/https://github.com/wulabing/Xray_onekey
Skip to content
main
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Feb 18, 2021
Feb 14, 2021
Fix
Jun 18, 2021
Feb 21, 2021
Jul 10, 2021

Xray 基于 Nginx 的 VLESS + XTLS 一键安装脚本 Project_Xray

感谢 JetBrains 提供的非商业开源软件开发授权!

Thanks for non-commercial open source development authorization by JetBrains!

Telegram 群组

准备工作

  • 准备一个域名,并将 A 记录添加好;
  • 安装好 wget。

导入链接规范

https://github.com/XTLS/Xray-core/issues/91

截止 2021-2-24 仅有 V2RayN 4.12+ 及 V2RayNG 1.5.8+ 支持链接及二维码导入

安装/更新方式(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

注意事项

  • 如果你不了解脚本中各项设置的具体含义,除域名外,请使用脚本提供的默认值;
  • 使用本脚本需要你拥有 Linux 基础及使用经验,了解计算机网络部分知识,计算机基础操作;
  • 目前支持 Debian 9+ / Ubuntu 18.04+ / Centos7+ / Oracle Linux 7+;
  • 群主仅提供极其有限的支持,如有问题可以询问群友。

鸣谢

启动方式

启动 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(证书公钥)

捐赠

您可以使用我的 搬瓦工 AFF 购买 VPS

https://bandwagonhost.com/aff.php?aff=63939

您可以使用我的 justmysocks AFF 购买搬瓦工提供的代理

https://justmysocks.net/members/aff.php?aff=17621