- 对 https://cloud-chip.cn 做 curl 实测(速度+SEO/GEO)
- 关键发现:线上 JSON-LD 仍为旧 Organization、无 hreflang、产品页双品牌、security.txt/llms.txt 404 → 63431dd 审计修复未上线
- 速度:TTFB 0.12-0.17s(好),但 no-store 无缓存 + 外部 cdn.tailwindcss.com 拖累
- SEO/GEO 评级:当前 C-,正确部署后可达 B
- 在 docs/SECURITY_SEO_REMEDIATION.md 新增「上线实测扫描」章节含服务器修复命令
- CHANGELOG 新增 [1.0.1] 版本记录
16 lines
1.6 KiB
Markdown
16 lines
1.6 KiB
Markdown
# 项目长期记忆(curated)
|
||
|
||
## 关键事实
|
||
- **cloud-chip.cn 网站/业务 与 coolcoth.com 网站/业务 没有任何关系**(非同一主体/品牌)。
|
||
- 代码托管(Gitea)在 `git.coolcoth.com`,该地址**正确、保持不动**;coolcoth.com 在此仅作 Git 托管基础设施,不代表两网站有关联。勿因 git 主机在 coolcoth.com 而误判归属。
|
||
- push-to-deploy 架构:Gitea 推送 → webhook 接收器(`webhook.cloud-chip.cn`,IP 47.107.30.116,同属 cloud-chip.cn 自有服务器)→ 触发站点 `deploy.sh` 执行 `git pull` + `config:clear`/`config:cache`。本工程 `deploy.sh` 只是被叫醒后拉代码的执行体,不负责接收 webhook。
|
||
|
||
## 服务器/部署约定
|
||
- 生产站点根目录:`/www/wwwroot/cloud-chip.cn`(Laravel 12 + Vue3 CDN 零构建栈)。
|
||
- 改 `config/*` 后必须 `php artisan config:clear`(deploy.sh 已内置)。
|
||
- 文件归属建议 `www:www`,目录 755 / 文件 644 / 可写目录 775 / `.env` 640。
|
||
- 宝塔 WebHook 插件脚本里的 `git add -A && commit -m "实时更新" && push` 自动提交逻辑会制造 origin 分歧、导致后续 `git pull` 拉不进新代码,应删除。
|
||
|
||
## 待办(未解决)
|
||
- 截至 2026-08-08 23:40:本地提交(含弃用修复、deploy.sh 增强、审计修复 63431dd、记忆 bc817bf)**已在 origin/main**(git.coolcoth.com 凭据问题已由自动提交+推送机制同步,无需手动 push)。剩余事项是**服务器端**:`/www/wwwroot/cloud-chip.cn` 曾被清空,需在服务器重新 `git clone` 拉起(不能只 pull)。
|