Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Feat: location rule for admin UI (#10894)

Lynn5d799122745e
diff --git a/docker/nginx/ragflow.https.conf b/docker/nginx/ragflow.https.conf
index 69aa3885f3..71cd241e73 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;