From 5d799122745e307821edeb9047d893ecaeca3959 Mon Sep 17 00:00:00 2001 From: Lynn Date: Thu, 30 Oct 2025 17:32:32 +0800 Subject: [PATCH] Feat: location rule for admin UI (#10894) ### What problem does this PR solve? Location rule for admin UI. ### Type of change - [x] New Feature (non-breaking change which adds functionality) --- docker/nginx/ragflow.https.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/nginx/ragflow.https.conf b/docker/nginx/ragflow.https.conf index 69aa3885f..71cd241e7 100644 --- a/docker/nginx/ragflow.https.conf +++ b/docker/nginx/ragflow.https.conf @@ -22,6 +22,11 @@ server { gzip_vary on; gzip_disable "MSIE [1-6]\."; + location ~ ^/api/v1/admin { + proxy_pass http://ragflow:9381; + include proxy.conf; + } + location ~ ^/(v1|api) { proxy_pass http://ragflow:9380; include proxy.conf;