【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>>
Apache 文件上传时,太大只需在apche:httpd.conf 配置
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
FcgidConnectTimeout 20
# to get around upload errors when uploading images increase the MaxRequestLen size to 15MB 这里单位是字节
FcgidMaxRequestLen 15728640
</IfModule>
Nginx 扩大上长文件请求长度可以在:
server{
location / {
client_max_body_size 1000m;
}
}
来源:oschina
链接:https://my.oschina.net/u/3086656/blog/3152975