noteTb: 352
This data as json
| id | user_id | content | tags | created_at | updated_at | enable | pinned | folder_id | comment | position | visibility |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 352 | 1 1 | # keng开发日志 ## 2026-05-22 kengnote.com 域名迁移 ### 需求 购买域名 kengnote.com 绑到 keng 项目上,以后可以直接用 kengnote.com/keng 访问,不用 leedreamer.cn/keng。 ### 操作 1. 阿里云 DNS(alidns)添加 kengnote.com 域名,配好 A 记录 - @ → 8.219.6.216 ✅ - www → 8.219.6.216 ✅ - NS: ns1.alidns.com / ns2.alidns.com 2. Nginx 配置写好了 /etc/nginx/sites-enabled/kengnote.com(和现有 default 基本一致,只保留 keng 相关路由) 3. 更新了 server.py 中的回调 URL: - GitHub OAuth callback: kengnote.com/keng/api/auth/github/callback - Notion OAuth callback: kengnote.com/keng/api/auth/notion/callback 4. 更新了 settings.html / index.html 中的域名链接 ### 待办(需用户配合) - [ ] **去 Namecheap 把 kengnote.com 的 NS 改成阿里云 DNS** - 登录 https://www.namecheap.com(账号: leedreamer, 密码: Fuckyou86416503.) - Domain List → kengnote.com → Manage → Nameservers → Custom DNS - 填入: ns1.alidns.com, ns2.alidns.com - [ ] DNS 生效后申请 SSL 证书 - [ ] 重启 keng 服务 + 重载 nginx ### 注意 - Namecheap 登录需要处理安全问题/2FA,无法通过脚本自动化 - 已经尝试过 playwright 自动化 + requests 模拟登录,都被 WAF/安全验证挡住了 | ["域名", "DNS", "部署", "kengnote"] | 2026-05-22 02:42:22 | 2026-05-22 02:42:22 | T | F | 0 | public |