[英]“Connection Interrupted” when uploading file larger than 10mb
I have an application (html form) that allows users to upload a file to the server. 我有一个应用程序(html表单),该应用程序允许用户将文件上传到服务器。 When the file is larger than 10mb, it kicks the user directly to a "Connection interrupted" page.
当文件大于10mb时,它将直接将用户踢到“连接中断”页面。
Server is setup as follows: 服务器设置如下:
Under php.ini (for both fpm and php proper) the max-upload size and post-max is set to 20mb. 在php.ini下(适用于fpm和php),最大上传大小和post-max设置为20mb。 Form field has a max file size of 200000000
表单字段的最大文件大小为200000000
Any ideas as to what this could be? 关于这可能是什么想法? Is this an nginx problem?
这是nginx问题吗?
在nginx服务器配置中:
client_max_body_size 20m;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.