fix: TAC 代理路径重写 /tac/api/ → /api/(平台无 /tac 前缀)

This commit is contained in:
Sisyphus committed 2026-08-25 16:46:30 +08:00
1 parent 7c3d2cfdef
commit c2366b5182
1 file changed
+2 -2
+2 -2
View File
@@ -90,9 +90,9 @@ server {
proxy_buffering off;
}
# ── TAC 人机验证:同源反代 → tianai-captcha 平台(generate/verify 用 X-Site-Key 头) ──
# ── TAC 人机验证:同源反代 → tianai-captcha 平台(/tac/api/xx → /api/xx,generate/verify 用 X-Site-Key 头) ──
location /tac/api/ {
proxy_pass http://captcha-platform;
proxy_pass http://captcha-platform/api/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;