As Nginx to PHP copying will be local operation max_input_time may never create issue. I am using PHP-FPM behind Nginx from very long time and I think in such kind of setup, its Nginx to which a client uploads file and then Nginx copies it to PHP. If your application supports uploads of file-size in GBs, you may need to adjust it accordingly. There is another variable max_input_time which can limit upload size but I have never seen it creating any issue. On my local I use nginx on a Mac and I am not having this limit issue. Technically, post_max_size should always be larger than upload_max_filesize but for large numbers like 100M you can safely make them equal.Ģ. Nginx 413 - Client intended to send too large body - Node app 0 I am runing a node app on nginx under Ubuntu and I am having problems uploading a 200M json file. Following steps given below will help you troubleshoot this!ġ. This means, you need to increase PHP file-upload size limit. 25556#0: *52 client intended to send too large body: If Nginx aborts your connection when uploading large files, you will see something like below in Nginx’s error logs:
0 Comments
Leave a Reply. |