简单来讲,在脚本地址前加上 https://ffp.yux.io/ 就走了ffp,加上 https://ffp.yux.io/r/ 意味着不仅脚本走ffp,脚本里的外部资源都走ffp
例如 bbr 的脚本:
wget -N --no-check-certificate "https://github.com/ylx2016/Linux-NetSpeed/releases/download/sh/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
有时候不好访问,因为托管在 Github 上,可以替换成:
wget -N --no-check-certificate "https://ffp.yux.io/https://github.com/ylx2016/Linux-NetSpeed/releases/download/sh/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
但是脚本中一些资源还是在 Github 上,不好访问,可以替换成:
wget -N --no-check-certificate "https://ffp.yux.io/r/https://github.com/ylx2016/Linux-NetSpeed/releases/download/sh/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
这样脚本中的外部资源就全都通过ffp
不能保证这个域名能持续使用,建议自己部署,如果这个小图标亮了 -> ,说明这个域名目前可用在线.
docker run -d --name=ffp \
-p 127.0.0.1:502:80 \
--restart=always \
yuxio/ffp:latest
详情开源在这里,帮助到你的话不妨点个 star。
接受一切批评,我在学习
