记录前端生产重发布验证
This commit is contained in:
@@ -601,3 +601,11 @@
|
||||
- Nginx 验证:`nginx -t` 通过,`systemctl reload nginx` 成功,`nginx.service` 为 `active`。
|
||||
- 公网 HTTPS 验证:正常证书校验下,`https://yunail.art/` 和 `https://www.yunail.art/` 返回设计师端入口,`https://salon.yunail.art/` 返回店务端入口,`https://salon.yunail.art/health/check` 返回 Jayu Cloud gateway JSON。
|
||||
- 结论:证书过期问题已解除;店务网页端已从 `yunail.art/jy-salon-front/` 切换为独立生产域名 `salon.yunail.art`。
|
||||
|
||||
## 2026-07-14 前端生产重发布与 Nginx 配置复核
|
||||
|
||||
- 构建验证:`JY-Artist-Frontend` 和 `JY-Salon-Front` 均已执行 `npm run build`,两端生产构建通过;设计师端存在 Vite 大 chunk 警告,未影响产物生成。
|
||||
- 发布验证:`/opt/jy-artist-frontend/current` 已切换到 `/opt/jy-artist-frontend/releases/20260714-144613/dist`;根入口 `index.html` 大小为 1052 字节,店务入口 `jy-salon-front/index.html` 大小为 601 字节。
|
||||
- Nginx 验证:`nginx -t` 成功,`nginx.service` 为 `active`;根域名、店务独立域名、HTTP 到 HTTPS 跳转、`/api/`、`/admin/api/` 和 `/health/check` 路由配置均与生产规划一致。
|
||||
- 公网验证:`https://yunail.art/` 和 `https://www.yunail.art/` 返回设计师端入口;`https://yunail.art/jy-salon-front/` 和 `https://salon.yunail.art/` 返回店务端入口;`https://yunail.art/health/check` 与 `https://salon.yunail.art/health/check` 均返回 Gateway JSON;`http://salon.yunail.art/` 返回 301 到 HTTPS。
|
||||
- 证书验证:公网 HTTPS 正常校验通过,证书未过期,有效期至 2026-10-07 06:14:28 UTC。
|
||||
|
||||
@@ -135,6 +135,14 @@
|
||||
- 影响范围:JY-Core 文件、用户和评价图片上传链路;不迁移历史文件,不修改数据库结构,不修改初始化 SQL。
|
||||
- 验证方式:运行 `ObjectStorageFileServiceImplTest` 和 `ObjectStorageUrlSupportTest`,覆盖 MinIO 主 provider 建档、副本 attempts 保存、MinIO/OSS/Qiniu/objectName URL 解析和历史外部 URL 回退。
|
||||
|
||||
## 2026-07-14 设计师端与店务端网页静态资源生产重发布
|
||||
|
||||
- 变更原因:后端生产包已按 MinIO 主对象存储与 MessageHub 生产配置完成发布,需要同步重发布设计师 Web 与店务 Web 静态资源,并复核 Nginx 入口配置。
|
||||
- 构建方式:分别在 `JY-Artist-Frontend` 和 `JY-Salon-Front` 执行 `npm run build`,两端 `vue-tsc` 与 Vite 生产构建均通过;设计师端仅出现 Vite 大 chunk 体积提示,不阻断发布。
|
||||
- 发布方式:将两个 `dist` 打包发布到 `aliyun01` 的 `/opt/jy-artist-frontend/releases/20260714-144613/dist`,并将 `/opt/jy-artist-frontend/current` 切换到该 release;设计师端作为根站点,店务端保留在 `current/jy-salon-front`。
|
||||
- Nginx 复核:`nginx -t` 通过;`yunail.art` / `www.yunail.art` 443 server 指向 `/opt/jy-artist-frontend/current`,`salon.yunail.art` 443 server 指向 `/opt/jy-artist-frontend/current/jy-salon-front`;80 端口统一跳转 HTTPS;`/api/`、`/admin/api/` 和 `/health/check` 代理到 `jayu_cloud_gateway`。
|
||||
- 验证方式:公网 `http://yunail.art/`、`http://yunail.art/jy-salon-front/`、`http://yunail.art/health/check` 均 301 到 HTTPS;`https://yunail.art/`、`https://www.yunail.art/`、`https://yunail.art/jy-salon-front/`、`https://salon.yunail.art/` 均返回对应前端入口;`https://yunail.art/health/check` 和 `https://salon.yunail.art/health/check` 均返回 Gateway JSON;证书有效期至 2026-10-07。
|
||||
|
||||
## 2026-07-12 开发环境 Nacos 配置注释整理
|
||||
|
||||
- 变更原因:用户要求整理 dev Nacos 的所有配置,并为每一个配置项补充对应注释,方便后续维护人员理解配置用途。
|
||||
|
||||
Reference in New Issue
Block a user