Commit Graph

3 Commits

Author SHA1 Message Date
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] 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] 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