yuehen7 / scripts Goto Github PK
View Code? Open in Web Editor NEWBBR、WARP、trojan-go、sing-box合集
BBR、WARP、trojan-go、sing-box合集
大佬可以写一个sing-box多协议一键搭建脚本吗?就和xray八个一脚本类似的那种
bash <(curl -s -L https://raw.githubusercontent.com/yuehen7/scripts/main/onekey.sh)
今天使用了一键脚本,可能存在下面的BUG,
第一,全新的安装系统的机器,直接运行一键脚本
bash <(curl -s -L https://raw.githubusercontent.com/yuehen7/scripts/main/onekey.sh)
在申请SSl的时候,ACME 提示,无法找到nginx,申请SSL 失败。
查看了脚本发现在使用ACME 申请SSL的时候,调用了 关闭nginx 和重启nginx 的参数,
但是在新装的系统,并没有安装nginx ,而且脚本 是先申请 SSL,再安装nginx 所以出现错误了。
PS: 在修改了ACME的参数,取消掉了--pre-hook "systemctl stop nginx" --post-hook "systemctl restart nginx" 参数后,脚本能继续安装,
第二,在自动安装SS的时候,提示输入端口,如果是直接默认端口,不输入,直接回车的情况下, 默认参数34210并没有写到 ${port_ss}里面,而且直接为空,导致 sing-box 的config.json 关于ss 参数"listen_port": , 没有正确的把端口参数写入config.json ,导致sing-box无法正常启动。修改为"listen_port": 34210,后能正常启动sing-box.
第三,还是上面那个BUG,导致 nginx 的 alon.conf 里面的参数 listen ${port} ssl; 的端口,正常是 listen 443 ssl ; 但是实际上生成的文件是 listen 34210 ssl ; 怀疑是把SS的端口,代入到了nginx 的变量里面,导致没有正确监听443端口。所以所有的服务都无效,修改alone.conf 中的 listen 443 ssl 后.nginx 正常能监听443 端口。
全部修改了一下,然后再重启服务,一切正常。
看看是不是需要修改一下BUG,
谢谢。
一键下来好像是V1版本的.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.