From 8d0c9ff32464238908ef7114c9bb95087cfa482a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=84=E5=BB=BA=E5=9B=BD?= <9340100@qq.com> Date: Mon, 9 Dec 2024 10:11:43 +0000 Subject: [PATCH] "@builder6/mongodb-api": "^0.0.7" --- .../fs/opt/steedos/templates/nginx-app.conf.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/deploy/enterprise/fs/opt/steedos/templates/nginx-app.conf.sh b/deploy/enterprise/fs/opt/steedos/templates/nginx-app.conf.sh index bc97e67d6f..d94e122eab 100755 --- a/deploy/enterprise/fs/opt/steedos/templates/nginx-app.conf.sh +++ b/deploy/enterprise/fs/opt/steedos/templates/nginx-app.conf.sh @@ -178,6 +178,19 @@ fi proxy_pass http://localhost:5100/api/v6/; } + location /v2/c/ { + proxy_http_version 1.1; + proxy_buffering off; + proxy_max_temp_file_size 0; + proxy_redirect off; + proxy_set_header Host \$http_host/v2/c/; + proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto \$origin_scheme; + proxy_set_header X-Forwarded-Host \$origin_host; + proxy_set_header Connection ""; + proxy_pass http://localhost:5100/v2/c/; + } + location /v7/ { proxy_pass http://localhost:5100/v7/; proxy_http_version 1.1;