


After I'll push my image I'm receiving this error: error 9494: 114 client intended to send too large chunked body My ingress rule looks like: apiVer. As Nginx to PHP copying will be local operation max_input_time may never create issue. I'm running on nginxdemos/nginx-ingress:1.1.1. 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.Technically, post_max_size should always be larger than upload_max_filesize but for large numbers like 100M you can safely make them equal.Following steps given below will help you troubleshoot this! Changes in php.ini client intended to Well-behaved HTTP clients indicate the size of the requests they send too large body: number bytes send in. This means, you need to increase PHP file-upload size limit. Pushing a 1.2GB repository fails with the final failure in the output above, where nginx complains about the the data being over 1GB. 25556#0: *52 client intended to send too large body: By setting clientmaxbodysize 1024m on 443, pushing a 650MB repository succeeds. Following steps given below will help you troubleshoot this Changes in php.ini. 52 client intended to send too large body: This means, you need to increase PHP file-upload size limit.

Increase file upload size limit in PHP-Nginx. Location ~* ^.+\.If Nginx aborts your connection when uploading large files, you will see something like below in Nginx’s error logs: Increase file upload size limit in PHP-Nginx. Include /etc/nginx/sites-enabled/default The app itself is CFML (Railo) running in a Tomcat container.Ģ 03:02:05 error 32116#0: *142 client intended to send too large body: 1290803 bytes, client: 172.31.19.39, server:, request: "POST /listings/35602/images/create HTTP/1.1", host: "", referrer: "" I've also tried using an ebextension as outlined here Increasing client_max_body_size in Nginx conf on AWS Elastic Beanstalk I have successfully used these settings on an AWS EC2 Ubuntu instance, but since using the same setup in a Docker container I am having this problem. I have used the client_max_body_size 10M in http, server,and location blocks to no avail, I am still seeing "client intended to send too large body" errors in the nginx logs. This is preventing users from uploading files any larger than the nginx default of 1MB. I'm having a problem where nginx seems to be ignoring (or overriding) my upped client_max_body_size directive in a Ubuntu Docker container on AWS Elastic Beanstalk.
