Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

License

NotificationsYou must be signed in to change notification settings

wulabing/Xray_onekey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

由于 Nginx 前置导致的嵌套 tls 可能会出现连接阻断 目前更推荐使用 reality ,建议移步到以下地址

https://github.com/wulabing/xray_docker

Telegram 群组

准备工作

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

导入链接规范

XTLS/Xray-core#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

您可以使用我的 DMIT AFF 购买 VPS

https://www.dmit.io/aff.php?aff=3957

您可以使用我的 Vultr AFF 创建新的 Vultr 账号并使用

https://www.vultr.com/?ref=6881279

您可以通过 USDT 支持我,感谢您的支持TRC20:TFannfnajNGYsMTuVDcXfZXXPbcaxAEffa

Stargazers over time

Stargazers over time

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp