feat: deploy demo test
This commit is contained in:
+3
-1
@@ -13,6 +13,8 @@ server {
|
||||
server_name localhost;
|
||||
# 全局或针对存储服务设置最大上传限制 (100G)
|
||||
client_max_body_size 100G;
|
||||
# 指定 Docker 内置 DNS 解析器,并设置 30 秒缓存
|
||||
resolver 127.0.0.11 valid=30s ipv6=off;
|
||||
|
||||
# =========================================================================
|
||||
# 1. RustFS 对象存储服务转发 (/storage/)
|
||||
@@ -80,7 +82,7 @@ server {
|
||||
location = /internal-auth {
|
||||
internal;
|
||||
# 打到宿主机的 FastAPI 8000 端口
|
||||
proxy_pass http://host.docker.internal:8000/api/v1/auth/jupyter;
|
||||
proxy_pass http://backend:8000/api/v1/auth/jupyter;
|
||||
|
||||
proxy_pass_request_body off;
|
||||
proxy_set_header Content-Length "";
|
||||
|
||||
Reference in New Issue
Block a user