执行安装前先将域名解析A记录到VPS/云服务器IP,可解析www或任意其他二级域名,解析域名与安装配置域名一致即可,安装脚本配置端口选择443(默认)。 bash <(curl -L -s https://raw.githubusercontent.com/wulabing/V2Ray_ws-tls_bash_onekey/master/install.sh) | tee v2ray_ins.log 启动 V2ray: systemctl start v2ray 停止 V2ray: systemctl stop v2ray 启动 Nginx: systemctl start nginx 停止 Nginx: systemctl stop nginx 脚本相关目录 Web 目录: /home/wwwroot/levis V2ray 服务端配置: /etc/v2ray/config.json V2ray 客户端配置: 执行安装时所在目录下的 v2ray_info.txt Nginx 目录: /etc/nginx 证书目录: /data/v2ray.key 和 /data/v2ray.crt