Commit Graph

11 Commits

Author SHA1 Message Date
peanut 492c09feeb fix: Nginx 配置添加 Swagger/Knife4j API 文档代理
在 emotion-museum.conf 中新增 /swagger-ui、/v3/api-docs、/doc.html、/webjars
代理规则,防止前端 try_files 拦截导致 API 文档页面无法访问。

修复后文档地址:
- Swagger UI: https://lifescript.happylifeos.com/api/swagger-ui/index.html
- Knife4j: https://lifescript.happylifeos.com/api/doc.html

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-20 22:08:35 +08:00
peanut 60c63850ee feat: 修复 Redis 超时问题、固定小程序端口、新增人生事件模块及优化多个页面
- 修复 Redis 超时:添加 commons-pool2 依赖,启用 Lettuce 连接池,超时提升至 15s
- 固定 mini-program H5 端口为 5175,避免与 web 项目端口冲突
- 新增人生事件(life-event)模块:表单和详情页面
- 新增 EpicScript 灵感接口(Controller/Service/DTO)
- 优化登录、引导、主页、记录、剧本详情等多个页面
- 优化服务管理脚本和 Nginx 配置

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-10 11:38:35 +08:00
peanut f4f8aab22a chore: 批量提交未提交的更改 2026-04-08 22:40:21 +08:00
peanut 2e08c0904d 合并 feature/domain-deploy 到 master:完成域名部署配置和 SSL 证书脚本 2026-03-21 22:55:28 +08:00
peanut a78257427a chore: 保存小程序配置修改(合并分支前) 2026-03-21 22:53:52 +08:00
peanut a4252e05ab fix: 修复静态资源访问问题并添加 life-script 前端配置
- 为 /emotion-museum/assets/ 添加静态资源专用 location 处理
- 添加 /life-script/ 前端应用的 nginx 配置
- 支持 React SPA 路由和静态资源缓存策略
2026-03-18 20:06:55 +08:00
peanut 04d5024752 feat: 完成域名部署配置
- 创建 SSL 证书申请脚本 (tools/deploy-ssl-cert.py)
- 创建 nginx HTTPS 配置文件 (conf/nginx-emotion-museum-ssl.conf)
- 创建 nginx HTTP 修复配置 (conf/nginx-emotion-museum-fix.conf)
- 创建一键部署脚本 (deploy-domain.sh)
- 更新前端依赖并构建

部署验证:
- HTTPS 前端页面:200
- HTTPS 管理后台:200
- HTTP->HTTPS 跳转:301
- SSL 证书有效期:2026-06-16
2026-03-18 19:44:39 +08:00
peanut 2fc4c29c81 config: 更新 nginx 配置为域名访问,添加 HTTPS SSL 支持 2026-03-17 23:56:47 +08:00
peanut 90d9de0e71 线上环境首页重定向bug修复 2025-12-24 23:26:30 +08:00
peanut 3c102aaa7e 新增部署脚本 2025-12-21 17:57:31 +08:00
peanut 8f2133f3af 后端管理模块部署 2025-10-30 16:55:22 +08:00