Skip to content

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

fix(nginx): use 127.0.0.1 in python conf to avoid ~1s IPv6 fallback latency (#17909)

Yee27c8b1a0613e
diff --git a/docker/nginx/ragflow.conf.python b/docker/nginx/ragflow.conf.python
index d000e41519..0d62e32417 100644
--- a/docker/nginx/ragflow.conf.python
+++ b/docker/nginx/ragflow.conf.python
@@ -11,12 +11,12 @@ server {
gzip_disable "MSIE [1-6]\.";
location ~ ^/api/v1/admin {
- proxy_pass http://localhost:9381;
+ proxy_pass http://127.0.0.1:9381;
include proxy.conf;
}
location ~ ^/(v1|api) {
- proxy_pass http://localhost:9380;
+ proxy_pass http://127.0.0.1:9380;
include proxy.conf;
}