From 1d6bcf5aa2c1404cff7fed64e4d11c8e3ae33db6 Mon Sep 17 00:00:00 2001 From: Kaleo Date: Mon, 21 Oct 2024 09:47:45 +0800 Subject: [PATCH] add nginx path for sdk handlers (#2899) (#2900) ### What problem does this PR solve? add the nginx path `/api` for sdk handlers ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- docker/nginx/ragflow.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/nginx/ragflow.conf b/docker/nginx/ragflow.conf index f3769d6abce..2a511d44f8f 100644 --- a/docker/nginx/ragflow.conf +++ b/docker/nginx/ragflow.conf @@ -10,7 +10,7 @@ server { gzip_vary on; gzip_disable "MSIE [1-6]\."; - location /v1 { + location ~ ^/(v1|api) { proxy_pass http://ragflow:9380; include proxy.conf; }