进入nginx/conf 编辑nginx.conf配置文件: 其中调整 client_max_body_size 大小 http { include mime.types; default_type application/octet-stream; client_max_body_size 50m 来源:oschina链接:https://my.oschina.net/u/1162040/blog/316551