From c2366b5182ed39c387982dc6d9712540a871f021 Mon Sep 17 00:00:00 2001 From: Sisyphus Date: Tue, 25 Aug 2026 16:46:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20TAC=20=E4=BB=A3=E7=90=86=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E9=87=8D=E5=86=99=20/tac/api/=20=E2=86=92=20/api/?= =?UTF-8?q?=EF=BC=88=E5=B9=B3=E5=8F=B0=E6=97=A0=20/tac=20=E5=89=8D?= =?UTF-8?q?=E7=BC=80=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- perler-lab/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perler-lab/nginx.conf b/perler-lab/nginx.conf index c5977d5..5c61dd5 100644 --- a/perler-lab/nginx.conf +++ b/perler-lab/nginx.conf @@ -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;