diff --git a/deploy/openresty-all-kefu.conf.template b/deploy/openresty-all-kefu.conf.template index 145a359..8fe22c1 100644 --- a/deploy/openresty-all-kefu.conf.template +++ b/deploy/openresty-all-kefu.conf.template @@ -149,5 +149,5 @@ server { # curl -sI https://<租户域名>/static/widget.js | grep -i cache # Cache-Control: no-cache # curl -s -i --http1.1 -H "Connection: Upgrade" -H "Upgrade: websocket" \ # -H "Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==" -H "Sec-WebSocket-Version: 13" \ -# https://<租户域名>/ws/chat | head -1 # HTTP/2 101 或 HTTP/1.1 101 +# https://<租户域名>/ws/chat | head -1 # 期待 HTTP/1.1 101 # ============================================================================= diff --git a/docs/deploy-production.md b/docs/deploy-production.md index e00d04b..2c183a7 100644 --- a/docs/deploy-production.md +++ b/docs/deploy-production.md @@ -78,7 +78,9 @@ PUSH_API_URL=https://uniservice.server.hnxinyouhe.com/open/v1/inquiry/push PUSH_API_KEY=<开启时用> PUSH_EXTERNAL_KEY_PREFIX=ai-kefu-jc # 平台兜底前缀;两租户已各自配 # ai-kefu(auto)/ ai-kefu-jc(jiancai), - # 与老项目线索键隔离,勿改! + # 与各自老项目线索键**同键空间**(切换/ + # 回滚不产生重复线索的依据),勿改; + # 两租户之间互异即可 # ⚠ 推送探测 env 回退(已知项,CLAUDE.md Phase 4 清理单 #2):租户 push URL # 空槽时回退 env PUSH_API_URL(默认即真 UniService 生产址)——后台凭据页点 # 「探测」会对真实服务发空批量 POST({"messages": []},按契约应为无操作, @@ -204,7 +206,7 @@ curl -s https://chat2.agent.hnxinyouhe.com/health # {"status":"ok",.. curl -sI https://chat2.agent.hnxinyouhe.com/static/widget.js | grep -i cache curl -s -i --http1.1 -H "Connection: Upgrade" -H "Upgrade: websocket" \ -H "Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==" -H "Sec-WebSocket-Version: 13" \ - https://chat2.agent.hnxinyouhe.com/ws/chat | head -1 # 期待 101 + https://chat2.agent.hnxinyouhe.com/ws/chat | head -1 # 期待 HTTP/1.1 101 ``` ## 4. 存量迁移(老 jc / auto 项目 → 本平台)