喵哥博客(Brother Meow Blog

喵哥博客(Brother Meow Blog

欢迎来到喵哥的博客 Welcome to Brother Miao’s blog
telegram
github

教你如何Cloudflare反代被墙的网站

如何反代??
Cloudflare Worker

export default {
async fetch(request, env) {
const url = new URL(request.url);
url.host = 'xxxx 你需要反代的网站 ';
return fetch(new Request(url, request))
}
}

复制到 Cloudflare Worker 部署即可

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.