From 3ec73946c6a0cb3235f56fd7cd61b757083ffd9d Mon Sep 17 00:00:00 2001
From: yeg <1347747024@qq.com>
Date: 星期二, 29 九月 2026 13:29:45 +0800
Subject: [PATCH] docs(server): 台账更新为实际部署状态(代码 61ba794、V155 已应用、443 为占位页)

---
 .scratch/server-testenv/README.md |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.scratch/server-testenv/README.md b/.scratch/server-testenv/README.md
index 42300fe..61b6c54 100644
--- a/.scratch/server-testenv/README.md
+++ b/.scratch/server-testenv/README.md
@@ -8,7 +8,7 @@
 
 | 路径 | 内容 |
 |---|---|
-| `/data/talent-card/app.jar` | 后端 fat jar(103 MiB) |
+| `/data/talent-card/app.jar` | 后端 fat jar(103 MiB)。**2026-09-29 更新到提交 `61ba794`**:V155 已应用(迁移 149 条、库版本 155、`merchant_onboarding_application.business_address` 列已建)。上一版留在 `app.jar.bak-20260929-1326`,回滚直接换回即可(V155 只加一列可空列,旧代码忽略它,安全) |
 | `/data/talent-card/admin/` | 后台管理端 dist(nginx 托管) |
 | `/data/talent-card/uploads/` | 上传落盘目录(对应 `UPLOAD_DIR`) |
 | `/data/talent-card/src/` | 从 Gitblit 克隆的源码,服务器上构建 admin 用 |
@@ -62,7 +62,8 @@
 | 证书 | 华为云签发的 DV(TrustAsia 签发)。`/etc/nginx/ssl/talent-card/server.crt` 是**含中间链的 bundle**(4451 字节),`server.key` 权限 `600` |
 | 覆盖域名(SAN) | `dqrcfwpt.com` + `www.dqrcfwpt.com` |
 | **到期** | **2027-02-11** ⚠️ **不会自动续到本机** —— 到期前在华为云重新下载再传一次(或那时改用 Let's Encrypt:80 已通,certbot 一条命令且自带自动续期) |
-| 端口 | 443 是正式入口;**80 只做 301 跳转**;8081 保留(见下) |
+| 端口 | **8081 = 测试环境**(完整功能);**443 = 生产预留,现在是占位页**(`/data/talent-card/placeholder/index.html`,正文「本域名对应的生产环境尚未部署」);80 只做 301 跳转到 https |
+| 生产上线时 | 把 443 块里的 `root` 与 `location` 换成 `include snippets/talent-card-locations.conf;`,80 的 301 不用动。该域名上的 `/api` 目前返回 503 JSON,避免请求落到静态页被误解为可用 |
 | HSTS | `max-age=86400`(1 天),**没有** `includeSubDomains` / `preload` |
 | 公网实测 | 链 2 张、`Verify return code: 0 (ok)`、`curl` 不带 `-k` 返回 200、`http://` → 301、HSTS 头存在、`https://` Origin 的登录请求不再 403 |
 

--
Gitblit v1.7.1