From f30035526a8d4d1d35ee68e60b1e4d9a1e0171f7 Mon Sep 17 00:00:00 2001 From: Cxx0822 <1556464090@qq.com> Date: Sat, 25 Oct 2025 22:53:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0rustfs=E4=BB=A3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/nginx.conf b/nginx.conf index bb14f1d..3a22df1 100644 --- a/nginx.conf +++ b/nginx.conf @@ -39,8 +39,8 @@ server { proxy_set_header X-Forwarded-Proto $scheme; } - location /calibre { - proxy_pass http://host.docker.internal:8100; + location /calibre/ { + proxy_pass http://host.docker.internal:8100/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; @@ -50,8 +50,16 @@ server { client_max_body_size 500M; } - location /easynode { - proxy_pass http://host.docker.internal:8200; + location /rustfs/ { + proxy_pass http://host.docker.internal:9100/; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + } + + location /easynode/ { + proxy_pass http://host.docker.internal:8200/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; @@ -64,6 +72,8 @@ server { location /blog-api/ { proxy_pass http://host.docker.internal:8082/; + + client_max_body_size 10M; } location /food-api/ {