Commit Graph

7 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 76459d8a95
fix: 修复阿里云nginx旧内容覆盖 + 新加坡LLM聊天密钥缺失
Issue 1 (guanghulab.com):
- 通用正则替换nginx.conf中所有root指令
- 新增/etc/nginx/default.d/清理
- 扩展旧内容搜索范围 + 全局find
- nginx -T全量配置诊断
- 改用restart确保完全加载

Issue 2 (guanghulab.online):
- .env.app新增ZY_LLM_API_KEY/ZY_LLM_BASE_URL写入
- .env.mcp同步写入
- 诊断输出新增ZY_LLM_API_KEY检查

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/6df2a7cd-ac56-420b-a949-177b3bbcb7ee

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 06:57:52 +00:00
copilot-swe-agent[bot] 970f027d6e
fix: 修复代码审查反馈 — 统一大小写匹配、完善过滤模式
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/72831904-29bb-41ba-a779-9595be396637

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 02:54:24 +00:00
copilot-swe-agent[bot] 1dfd724d78
fix: 全面修复guanghulab.com部署 — 清理所有冲突Nginx配置、正确处理SSL、清除旧网站内容
根本原因:HTTP 80被certbot重定向到HTTPS 443,但HTTPS 443由旧配置服务旧内容(铸渊助手v6.0)

修复内容:
1. 全面清理冲突配置 — 移除所有sites-enabled/conf.d中非落地页的server块
2. 中和nginx.conf内嵌server块 — 将默认root重定向到落地页目录
3. 清除旧网站内容 — 备份旧/var/www/guanghulab等目录中的旧页面
4. 正确处理SSL — 有证书时生成完整HTTPS配置+HTTP→HTTPS重定向
5. 改进健康检查 — 独立测试HTTP/HTTPS、验证内容正确性

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/72831904-29bb-41ba-a779-9595be396637

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 02:51:49 +00:00
copilot-swe-agent[bot] e1c15e938a
fix: 改进冲突检测逻辑 — 排除注释行+iptables去重
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/cf7e00b0-8d2a-46c5-ae90-6b90088b3942

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 01:37:08 +00:00
copilot-swe-agent[bot] 30cabe2773
fix: 修复guanghulab.com部署问题 — 清理Nginx配置冲突+添加default_server+防火墙检查
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/cf7e00b0-8d2a-46c5-ae90-6b90088b3942

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 01:35:32 +00:00
copilot-swe-agent[bot] 741fe35e1d
fix: address code review feedback - awk semicolon strip, SSL block injection, domain validation
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/897d170d-eb76-4fc4-80c7-40f351735be6

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 01:18:18 +00:00
copilot-swe-agent[bot] 0355ddf24a
feat: add Alibaba Cloud deployment workflow for guanghulab.com ICP landing page
- Create server/nginx/ali-cn-domain.conf (isolated Nginx config, no default_server)
- Create .github/workflows/deploy-ali-cn-landing.yml with:
  - Dual-path SSH: direct connection → SG jump fallback
  - Password-based auth via ALI_SERVER_HOST/USER/PASSWORD secrets
  - Isolated deployment to /opt/guanghulab-landing/
  - Smart Nginx config detection (conf.d vs sites-enabled)
  - SSL setup support via certbot
  - Health checks with ICP verification

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/897d170d-eb76-4fc4-80c7-40f351735be6

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 01:16:35 +00:00