Files
dpl/docs/maintenance/PROJECT_DOMAINS.md
T

19 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 项目域名清单与福云导航
项目面向用户的域名和用途维护在 [config/project-domains/](../../config/project-domains/)。每个项目使用独立的 JSON 文件,文件名为项目代号。DomainHub 继续维护 DNS、资源关系和地址发布台账;清单里的 `domainhub` 是对应记录代号,不包含凭据或私有入口。
- `role`:`primary` 永久主域名、`direct` 免翻墙域名、`navigation` 导航站域名。
- `access`:按需填写 `requires_proxy`(需翻墙)或 `suspected_blocked`(疑似被墙)。未填写表示没有登记额外限制,不表示做过当地线路测试。
- `recommended`:最多一个,只用于未标注限制的免翻墙域名。
```sh
node scripts/project-domains/manage.mjs list
node scripts/project-domains/manage.mjs list fuc
node scripts/project-domains/manage.mjs build fuc
node scripts/project-domains/manage.mjs check fuc
```
[福云导航](https://fu-nav3.com/)从 [FUC 清单](../../config/project-domains/fuc.json)生成静态 HTML。调整清单或模板后,提交重新生成的页面。导航站本身登记在清单里,但不作为进入面板的选项。当前默认 fu99.cloud,其次是 fuuu.online;两条永久主域名显示「需翻墙」,福云123.com 保留在末尾并显示「疑似被墙」。选择入口、邀请码转交和手动倒计时沿用导航现有流程。
发布只从指定 Git 提交提取 `public/brand/fuc-navigation/` 下的 `index.html`、`clipboard.mjs`、`logo.svg`,落在 `/var/www/wwwroot/fuc-navigation/releases/<SHA>`,再切换 `current`。导航站运行时无需请求 XB 或 DomainHub。服务器侧回读根域与已登记的 tomtojapan 反代,确认默认入口和五条链接;异常时将 `current` 指回上一次验收的版本。