type
status
date
slug
summary
tags
category
icon
password
Sub-item
Parent item
Cloudflare 部署
- 登录 cloudflare 控制台, 新建一个 worker 并编辑代码, 替换为一下代码
🔮说明 ADDRESS: 你的 AList 地址,必须加上协议头,后面不能跟 /。如 https://alist.520717.xyz TOKEN (令牌): 在 AList 管理页面中进入“其他设置”得到。
- DNS设置
由于 Cf Worker 可能存在被 GFW 墙的情况,最好解析到自己域名
添加一个 cname 记录并打开小云朵☁️
![notion image](https://img.520717.xyz/file/cf327ba47fae24c413757.jpg?t=21f0f3d0-a113-441b-bcd6-7d655d8d16c1&t=83bbe767-abdd-4d8f-8a77-bcd9381d4064)
- worker设置
重新打开刚刚创建的 worker,找到设置—触发器—路由
![notion image](https://img.520717.xyz/file/5bd48cce0a6467067013f.jpg?t=042e782d-4131-4c55-8cb5-c34fe7f3da9b)
在触发器中添加路由,把刚刚添加的记录
example. com/*
加入到路由中,区域选择域名。![notion image](https://img.520717.xyz/file/a678b83c46d9278a19ec9.jpg?t=94a04f5c-bb08-4f4c-96be-0b6c8f468bad)
Alist 设置
![notion image](https://img.520717.xyz/file/119d7625ce7255cb53779.jpg?t=8ed743a6-a1d9-444e-8150-f600d0459cea)
- 作者:Anyaer
- 链接:https://cool.anyae.top/article/33495ea4-acfe-4ef7-941d-8d91716e527a
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。
相关文章