hailin
ab9f479f81
fix(nginx): preserve full path for WebSocket proxy
2026-01-10 01:09:41 -08:00
hailin
462bd64651
fix(kong,nginx): fix API routing configuration
...
- nginx: preserve full path when proxying to Kong (remove trailing /)
- nginx: increase API timeout to 120s for AI streaming
- kong: use format_version 2.1 for Kong 3.4 compatibility
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 19:38:32 -08:00
hailin
ec66d58e61
fix(nginx): preserve query string for Socket.IO proxy
...
Add $is_args$args to proxy_pass for /socket.io/ and /ws/ locations
to fix "Transport unknown" error caused by missing query parameters.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 19:19:52 -08:00
hailin
ac105a8c0b
fix: nginx配置支持动态解析,解决后端服务不可用时启动失败问题
...
- 移除静态upstream定义,改用Docker DNS resolver动态解析
- 移除Docker nginx的SSL配置(系统nginx已处理SSL)
- 使用set变量方式引用后端服务,避免启动时DNS解析失败
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 08:24:28 -08:00
hailin
f273e7be8d
feat: 傻瓜式nginx反向代理配置
...
- Docker nginx使用8080端口避免与系统nginx冲突
- 启动nginx时自动配置系统nginx反向代理
- 支持Debian/Ubuntu和CentOS/RHEL两种配置目录
- 自动测试配置并重载nginx
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 07:51:49 -08:00
hailin
3ac83e9305
feat: 添加 SSL 证书自动申请和 Kong API Gateway 配置
...
新增功能:
- deploy.sh 添加 ssl 命令支持 Let's Encrypt 证书自动申请
- deploy.sh 添加 kong 命令支持 API Gateway 路由配置
- deploy.sh 添加 deploy-full 命令一键完整部署(含SSL)
- Nginx 配置更新为 HTTPS,支持 HTTP->HTTPS 重定向
- 域名配置为 iconsulting.szaiai.com
SSL 功能:
- ./deploy.sh ssl install 安装 certbot
- ./deploy.sh ssl obtain 申请证书
- ./deploy.sh ssl renew 续期证书
- ./deploy.sh ssl auto-renew 配置自动续期
Kong 功能:
- ./deploy.sh kong setup 配置所有微服务路由
- ./deploy.sh kong status 查看网关状态
- ./deploy.sh kong services 查看服务列表
- ./deploy.sh kong routes 查看路由列表
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 00:07:26 -08:00
hailin
a7add8ff90
Initial commit: iConsulting 香港移民咨询智能客服系统
...
项目架构:
- Monorepo (pnpm + Turborepo)
- 后端: NestJS 微服务 + Claude Agent SDK
- 前端: React + Vite + Ant Design
包含服务:
- conversation-service: 对话服务 (Claude AI)
- user-service: 用户认证服务
- payment-service: 支付服务 (支付宝/微信/Stripe)
- knowledge-service: 知识库服务 (RAG + Neo4j)
- evolution-service: 自我进化服务
- web-client: 用户前端
- admin-client: 管理后台
基础设施:
- PostgreSQL + Redis + Neo4j
- Kong API Gateway
- Nginx 反向代理
- Docker Compose 部署配置
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 00:01:12 -08:00