171 字
1 分钟
这个博客的搭建

fuwari
在fuwari根目录下创建wrangler.jsonc,输入
{ "name": "blog", "compatibility_date": "2025-07-13", "assets": { "directory": "./dist" }}
name:worker名字
cloudflare worker
在worker中连接到你的博客github项目
部署完成后在路由里添加yousite.com/*
edgeone
使用edgeone加速workers.dev(其实可以加速任意绑定到cloudflare的cname,比如说大佬配置好的优选,区别不大)
域名解析
使用阿里云dns分区域解析
最终表现
R2存储桶
然后打开你的网站,你会发现r2的流量并不是走的edgeone,我们来解决这个问题 打开cloudflare,点开规则>Cloud Connector
然后在eo加速源站,dns分流