记录后端和网页前端生产更新

This commit is contained in:
2026-07-15 18:16:29 +08:00
parent 00a435ecfb
commit a7a6656125
4 changed files with 26 additions and 1 deletions
+1 -1
View File
@@ -768,7 +768,7 @@ $env:NACOS_USERNAME='nacos'
- 设计师端域名:`yunail.art` 和 `www.yunail.art`。
- 店务端域名:`salon.yunail.art`。
- 静态资源发布目录:`/opt/jy-artist-frontend/releases/<timestamp>/dist`。
- 当前生效入口:`/opt/jy-artist-frontend/current`,由发布流程切换到最新 release。
- 当前生效入口:`/opt/jy-artist-frontend/current`,由发布流程切换到最新 release;2026-07-15 已切换到 `/opt/jy-artist-frontend/releases/20260715-180706/dist`。
- 设计师网页端入口:`https://yunail.art/`,Nginx 根目录指向 `/opt/jy-artist-frontend/current`,SPA 兜底到 `/index.html`。
- 店务网页端入口:`https://salon.yunail.art/`,Nginx 根目录指向 `/opt/jy-artist-frontend/current/jy-salon-front`,SPA 兜底到 `/index.html`;同时必须配置 `location ^~ /jy-salon-front/`,以 `/opt/jy-artist-frontend/current` 为根目录映射带前缀的店务静态资源。
- 后端健康检查:`/health/check` 必须反向代理到网关 upstream `jayu_cloud_gateway`,不能落入前端 SPA 兜底。