一、首先:进入Dash CF面板新建个workers
1.png
二、部署后编辑代码

// Website you intended to retrieve for users.

//const upstream = 'www.google.com'
const upstream = 'yourid.free.fr'
// Custom pathname for the upstream website.
const upstream_path = '/'
// Website you intended to retrieve for users using mobile devices.
//const upstream_mobile = 'www.google.com'
const upstream_mobile = 'yourid.free.fr'
// Countries and regions where you wish to suspend your service.
const blocked_region = []
// IP addresses which you wish to block from using your service.
const blocked_ip_address = ['0.0.0.0', '127.0.0.1']
// Whether to use HTTPS protocol for upstream address.
const https = false
// Whether to disable cache.
const disable_cache = false
// Replace texts.
// const replace_dict = {
// '$upstream': '$custom_domain',
// '//google.com': ''
// }
const replace_dict = {

'$upstream': '$custom_domain',

}
let data={}
addEventListener('fetch', event => {

event.respondWith(fetchAndApply(event.request));

})
async function fetchAndApply(request) {

const region = request.headers.get('cf-ipcountry').toUpperCase();
const ip_address = request.headers.get('cf-connecting-ip');
const user_agent = request.headers.get('user-agent');
let response = null;
let url = new URL(request.url);
let url_hostname = url.hostname;
if (https == true) {
    url.protocol = 'https:';
} else {
    url.protocol = 'http:';
}
if (await device_status(user_agent)) {
    var upstream_domain = upstream;
} else {
    var upstream_domain = upstream_mobile;
}
url.host = upstream_domain;
if (url.pathname == '/') {
    url.pathname = upstream_path;
} else {
    url.pathname = upstream_path + url.pathname;
}
if (blocked_region.includes(region)) {
    response = new Response('Access denied: WorkersProxy is not available in your region yet.', {
        status: 403
    });
} else if (blocked_ip_address.includes(ip_address)) {
    response = new Response('Access denied: Your IP address is blocked by WorkersProxy.', {
        status: 403
    });
} else {
    let method = request.method;
    let request_headers = request.headers;
    let new_request_headers = new Headers(request_headers);
    new_request_headers.set('Host', upstream_domain);
    new_request_headers.set('Referer', url.protocol + '//' + upstream_domain);
    if(method == 'POST'){
        let origin_formData = await request.text()
        data = {
            method: method,
            headers: new_request_headers,
            body : origin_formData
        }
        console.log(data)
    }else if(method == 'GET'){
        data = {
            method: method,
            headers: new_request_headers
        }
    }
    let fuckKeys =  Object.fromEntries(new_request_headers)
    console.log(method)
    console.log(fuckKeys)
    let original_response = await fetch(url.href, data)
    connection_upgrade = new_request_headers.get("Upgrade");
    if (connection_upgrade && connection_upgrade.toLowerCase() == "websocket") {
        return original_response;
    }
    let original_response_clone = original_response.clone();
    let original_text = null;
    let response_headers = original_response.headers;
    let new_response_headers = new Headers(response_headers);
    let status = original_response.status;
    if (disable_cache) {
        new_response_headers.set('Cache-Control', 'no-store');
    }
    new_response_headers.set('access-control-allow-origin', '*');
    new_response_headers.set('access-control-allow-credentials', true);
    new_response_headers.delete('content-security-policy');
    new_response_headers.delete('content-security-policy-report-only');
    new_response_headers.delete('clear-site-data');
    if (new_response_headers.get("x-pjax-url")) {
        new_response_headers.set("x-pjax-url", response_headers.get("x-pjax-url").replace("//" + upstream_domain, "//" + url_hostname));
    }
    const content_type = new_response_headers.get('content-type');
    if (content_type != null && content_type.includes('text/html') && content_type.includes('UTF-8')) {
        original_text = await replace_response_text(original_response_clone, upstream_domain, url_hostname);
    } else {
        original_text = original_response_clone.body
    }
    response = new Response(original_text, {
        status,
        headers: new_response_headers
    })
}
return response;

}
async function replace_form_data(formData, upstream_domain, host_name) {

let text = await response.text()
var i, j;
for (i in replace_dict) {
    j = replace_dict[i]
    if (i == '$upstream') {
        i = upstream_domain
    } else if (i == '$custom_domain') {
        i = host_name
    }
    if (j == '$upstream') {
        j = upstream_domain
    } else if (j == '$custom_domain') {
        j = host_name
    }
    let re = new RegExp(i, 'g')
    text = text.replace(re, j);
}
return text;

}
async function replace_response_text(response, upstream_domain, host_name) {

let text = await response.text()
var i, j;
for (i in replace_dict) {
    j = replace_dict[i]
    if (i == '$upstream') {
        i = upstream_domain
    } else if (i == '$custom_domain') {
        i = host_name
    }
    if (j == '$upstream') {
        j = upstream_domain
    } else if (j == '$custom_domain') {
        j = host_name
    }
    let re = new RegExp(i, 'g')
    text = text.replace(re, j);
}
return text;

}
async function device_status(user_agent_info) {

var agents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"];
var flag = true;
for (var v = 0; v < agents.length; v++) {
    if (user_agent_info.indexOf(agents[v]) > 0) {
        flag = false;
        break;
    }
}
return flag;

}

将上面yourid.free.fr改成你的free.fr

以我被墙的perso115-g5.free.fr为例 地址http://自己的域名.free.fr
三、编辑wp-config.php

define( 'WP_DEBUG', false ); 下面增加

$domain = array("wow.auz.cc", "wowchina.free.fr", );
if(in_array($_SERVER['HTTP_HOST'], $domain))
{
define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST']);
define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST']);
}
define( 'WP_CONTENT_URL', '/wp-content');
四、workers自定义域名绑定
2.png

有人说,最深的爱不是相濡以沫,而是相忘于江湖后的念念不忘。我曾对这句话嗤之以鼻,直到自己成了那个靠回忆取暖的人,才尝尽了其中滋味。

我好像一直在凭借回忆,维系着与一个不再联系的人的情感连接。我的内心从未真正宣告对你的“放下”,只是这份想念,已从喧闹的倾诉,转入沉默的独白。真正的离别,原来不是那个挥手告别的站台,而是此后余生里,每一个生活的不经意。当我习惯性地想分享一首歌,却发现对话框已无处安放时,才惊觉思念早已渗入骨髓。

时间是温柔的,它试图用岁月的尘埃覆盖过往。你的样子、你的声音,在我记忆中都渐渐褪色、失真,变成了一个温柔的影子。但时间也是残忍的,它磨灭了表象,却沉淀了本质。那份喜欢的感觉,被它酿成了一种本能,一种即使在意识模糊时,心脏依然会产生的条件反射。

我曾无数次宣告自己的痊愈,在朝阳升起时给自己打气,在朋友问候时报以微笑。可就在某个雨滴敲打窗棂的午后,所有的防线都瞬间崩塌。原来,所谓的好,不过是把伤痛从浅表转移到了深藏。

你确实来过,像一颗流星划过我的宇宙。后来你走了,却把所有的光和热,都留在了我“记得的从前”。我终于明白,生命中最重的惩罚,不是失去一个爱人,而是获得一个无法被时间带走的永恒的印象。你成了我心底的一座活火山,表面沉寂,内核却永远滚烫。

或许,这就是命运给我的另一种馈赠。让我知道,有些存在,无需言语,无需相见,它本身就是一种印记。你活在我记得的从前,也便活在了我的永恒。

原来真的有人,仅仅靠着回忆,就能爱着一个不再联系的人。

起初,我是不信的。直到后来,这句话成了我生活的注脚。我以为时间会像橡皮擦,一笔一划地抹去关于你的痕迹。可它没有。我好像一直蜷缩在记忆的角落里,偷偷爱着一个早已走出我世界的你。我心里从未真正放下过你,只是学会了缄默,不再向任何人提起。

原来,最让人溃不成军的,从来不是分开时那个决绝的背影,而是分开之后那漫长的、平淡的余生。是路过那家我们曾一起躲过雨的便利店时,心跳突然漏掉的一拍;是听到一首老歌,旋律刚刚响起,眼眶就莫名湿润的瞬间。最难受的,是这些数不清的、不经意的瞬间。

日子久了,你在我脑海里的样子已经开始模糊,像一张曝光的底片,只剩轮廓。你的声音,也早已被喧嚣的生活淹没,我努力回想,也只抓住一丝遥远的回音。可奇怪的是,那份喜欢你的感觉,却像陈年的酒,不仅没有挥发,反而在心底愈发醇厚、清晰。

我以为我痊愈了。在新的日子里忙碌,对别人谈笑风生。但每当夜深人静,或某个猝不及防的瞬间,那种巨大的缺失感就会将我吞没。那一刻我才明白,我并没有好,我只是学会了假装。

你明明那样真实地来过我的世界,带给我光和热,最后却只活在我“记得的从前”。我终于懂了,世界上最痛的惩罚,不是命运从我身边夺走了你,而是它把你永远地留在了我的心里,却再也不让我们相见。

原来,你是我记忆里的一个长久的居民,也是我生活里一个永远的过客。

人生海海,山山而川,不过尔尔。

那些爱过又错过的人,那些求之不得的遗憾,终将在岁月的冲刷下,变成河床上一枚温润的石子。你偶尔会想起,伸手摸一摸,但不会再被它硌疼。

爱而不得,不是你的失败,而是你活过的证明。

正因为心里曾有过那样一个人,曾为那样一份感情彻夜不眠、痛哭流涕,我们才在疼痛中确认了自己的温度——我还有力气去爱,还有能力去痛,还愿意在破碎之后重新完整起来。

这世上圆满的爱情各有各的圆满,而爱而不得的人,也各有各的月光。

今夜,如果你也在想着一个得不到的人,那就想一想月亮吧。你看,月亮就在那里,它照着你也照着他,照着古人也照着来者。

它不说话,却什么都告诉你了。

原来真的有人靠着回忆爱着一个不联系的人。我好像一直在靠回忆爱着一个不联系的人,我心里就没放下过你,只是不再告诉别人了。最难受的不是分开,是后来生活里每一个不经意的瞬间,我都突然想起你。其实你的样子我都快记不清了,声音也模糊了,可那种喜欢的感觉却一直存在。时间久了,我以为我好了,但好像又没有。你明明来过我的世界,后来却只活在我记得的从前。原来最痛的惩罚不是失去你,而是让我永远都忘不掉。其实是很多人心中那个不为人知的角落。那里住着一个人,联系方式可以删除,对话框可以清空,但那个人留在你生命里的“感觉”,却像一种顽固的天气系统,不受控制地在你心里下雨。



你说得对,最难的不是分开的那一刻,而是后来。
是路过那家一起喝过咖啡的店,招牌已经换了;
是看一部电影,主角说出了他曾经说过的某句话;
是手机天气里突然弹出他所在城市的降温提醒,你的手停在半空,才意识到已经没有了嘱咐的资格。

更微妙的是,时间确实在模糊细节。他的样子、声音,都像水中的倒影,风一吹就散了。可那个“喜欢的感觉”,那份心动和温暖,却像刻在骨头上的印记,随着心跳隐隐作痛。这是一种极其孤独的纪念,没有人知道,在你风平浪静的外表下,内心正经历着一场海啸。

你不是没有放下,你只是选择了一种最温柔也最残忍的方式——把他放在了一个不再提起,但永不忘记的地方。你不是“好像没好了”,而是你的“好”,已经变成了与这种怀念共存。它不再是你生活的全部,但它成了你灵魂底色的一部分。

这或许不是最痛的惩罚,而是一个人用自己的方式,为一段重要过往举行的漫长而安静的告别仪式。它不再关于他,而关于你心里那个曾经完整、曾经深爱过的自己。你怀念的,其实也是那个敢爱、会爱、如此真诚的自己。

就让那份感觉,静静地待在那里吧。它证明你真实地活过、爱过。而明天的太阳升起时,你依然会带着这份隐秘的重量,继续走向你自己的生活。总有一天,你想起他时,心里漫上的不再是苦涩的潮水,而是一片温凉的、曾经照亮过你的月光。