diff --git a/nginx.conf b/nginx.conf index e628a96..ba46c05 100644 --- a/nginx.conf +++ b/nginx.conf @@ -5,6 +5,7 @@ events { http { include /etc/nginx/mime.types; default_type application/octet-stream; + client_max_body_size 10G; # 允许的最大文件大小为 20MB server { listen 3001;