diff --git a/frontend/nginx.conf b/frontend/nginx.conf index 9d8bfca..6bdf073 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -4,6 +4,9 @@ server { root /usr/share/nginx/html; index index.html; + # 允许上传大文件(用于 ZIP 项目上传) + client_max_body_size 500M; + # 处理 SPA 路由 location / { try_files $uri $uri/ /index.html;