Commit
·
9aabebd
1
Parent(s):
e587fd6
add nginx path for sdk handlers (#2899) (#2900)
Browse files### 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
CHANGED
@@ -10,7 +10,7 @@ server {
|
|
10 |
gzip_vary on;
|
11 |
gzip_disable "MSIE [1-6]\.";
|
12 |
|
13 |
-
location
|
14 |
proxy_pass http://ragflow:9380;
|
15 |
include proxy.conf;
|
16 |
}
|
|
|
10 |
gzip_vary on;
|
11 |
gzip_disable "MSIE [1-6]\.";
|
12 |
|
13 |
+
location ~ ^/(v1|api) {
|
14 |
proxy_pass http://ragflow:9380;
|
15 |
include proxy.conf;
|
16 |
}
|