更新nginx静态资源转发,更改前端proxy请求发送地址

Change-Id: Ia339e2002b07c0ccaf287435415a905cc5a989b5
diff --git a/nginx.conf b/nginx.conf
index f159a2c..98ba7fc 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -15,4 +15,16 @@
         proxy_set_header Host $host;
         proxy_set_header X-Real-IP $remote_addr;
     }
+    
+    # 静态图片资源
+    # 方案1:直接通过Nginx提供静态文件
+    location /uploads/ {
+        alias /usr/share/nginx/html/uploads/;
+        expires 30d;
+    }
+    # 方案2:代理到后端服务(如果后端需要处理文件访问逻辑)
+    # location /uploads/ {
+    #     proxy_pass http://backend:5011;
+    #     proxy_set_header Host $host;
+    # }
 }
\ No newline at end of file