博文
目前显示的是标签为“head”的博文
未找到任何结果
此博客中的热门博文
极简一键脚本 搭NaiveProxy梯子 自定义端口 与Caddy V2前置的VLESS/Vmess V2Ray共存 可开CDN
* 推荐使用 Xshell 的撰写窗格,这样多行命令可以写到撰写窗格里面执行。 1. 极简一键脚本搭 Caddy V2 前置的VLESS或Vmess+WebSocket+TLS 设置好域名解析, 如 vless.mydomain.com , CDN关掉 bash <(curl -L https://github.com/crazypeace/v2ray_wss/raw/main/install.sh) 搭完自己检查一下是否能正常使用 CDN可以开 2. 搭建NaiveProxy 2.1 设置域名解析, 如 np.mydomain.com , CDN关掉 -update- 所有以下这些步骤,我做成了一个一键脚本。执行这个脚本,以下步骤都不用手搓了。 bash <(curl -L https://github.com/crazypeace/naive/raw/main/install.sh) 2.2 用Caddy官方脚本安装Caddy 来源: https://caddyserver.com/docs/install#debian-ubuntu-raspbian sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list sudo apt update sudo apt install caddy 2.3 下载NaiveProxy作者编译的caddy https://github.com/klzgrad/forwardproxy/releases 找最新的版本 cd /tmp wget https://...
白嫖worker 自建短链服务 Url-Shorten-Worker 变身文件保管站 File Storage 保存到 R2对象存储 搭建手册
Github https://github.com/crazypeace/Url-Shorten-Worker 变身文件保管站 File Storage 保存到 R2对象存储 先上演示视频 申请Cloudflare账号,略。 * 以下操作过程中, 标颜色的信息 , 你最好另外单独记好. 这样操作流程比较顺畅. 创建R2 记住这个R2的名字,以 r2test 为例 设置公开链接 记住这个R2公开链接, https://pub-*****.r2.dev 设置 CORS 策略 [ { "AllowedOrigins": [ "*" ], "AllowedMethods": [ "PUT", "GET", "HEAD", "DELETE" ], "AllowedHeaders": [ "*" ] } ] * 注, 说实话这里有一点点粗暴, 但是问题不大. 创建R2 API 回到R2 overview页面, 记住这个 Account ID 点击 Manage 按钮 点击 "Create User API token" 按钮 选择 "Object Read & Write" - "Specify bucket(s)" - 选择你刚刚创建的 R2 r2test 记住生成的 Access Key ID , Secret Access Key 创建KV 记住这个KV的名字,以 kvtest 为例 创建Worker服务 设置绑定KV 变量名称必须设置为 LINKS , KV的名字选刚刚创建的 kvtest * LINKS 是在脚本中要引用的,所以要设置这个。 编辑Worker的脚本内容 把原有的...