v3.1 + 批次0: 智能回复重构基线 - ApprovalMatcher + 关键词降级 + 文档速修 + v4.0任务书面化

This commit is contained in:
Simon
2026-07-17 23:08:59 +08:00
parent 5a77a89ab1
commit 3ed86d5fb3
181 changed files with 19738 additions and 2655 deletions
+22 -8
View File
@@ -95,7 +95,6 @@ http {
location /itagent/ {
alias /usr/share/nginx/html/itagent/;
index index.html;
try_files $uri /itagent/index.html;
}
# ------------------------------------------------------------------
@@ -157,13 +156,28 @@ http {
# ------------------------------------------------------------------
# H5 用户端 — /h5/
# 说明:H5 是静态前端应用,必须配置为静态文件服务(alias)!
# ⚠️ 禁止改为 proxy_pass,否则返回 404(后端无 /h5/ 路由)
# 关联 CASECASE-20260714-02 / CASE-20260716-01
# ------------------------------------------------------------------
location /h5/ {
proxy_pass http://backend_api/;
alias /usr/share/nginx/html/h5/;
index index.html;
try_files $uri /h5/index.html;
}
# ------------------------------------------------------------------
# 静态媒体文件 — /media/ (企微下载的图片/H5上传的文件)
# 代理到后端 /api/media/ 接口(容器内路径 /app/uploads/
# ------------------------------------------------------------------
location /media/ {
proxy_pass http://backend_api/media/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
expires 30d;
add_header Cache-Control "public, immutable";
}
# ------------------------------------------------------------------
@@ -228,7 +242,6 @@ http {
location /itagent/ {
alias /usr/share/nginx/html/itagent/;
index index.html;
try_files $uri /itagent/index.html;
}
# ------------------------------------------------------------------
@@ -292,13 +305,14 @@ http {
# ------------------------------------------------------------------
# H5 用户端 — /h5/
# 说明:H5 是静态前端应用,必须配置为静态文件服务(alias)!
# ⚠️ 禁止改为 proxy_pass,否则返回 404(后端无 /h5/ 路由)
# 关联 CASECASE-20260714-02 / CASE-20260716-01
# ------------------------------------------------------------------
location /h5/ {
proxy_pass http://backend_api/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
alias /usr/share/nginx/html/h5/;
index index.html;
try_files $uri /h5/index.html;
}
# ------------------------------------------------------------------