This will get included by the main nginx. Once you have done this, you will notice the following on your Linux instance: $ ls -al /etc/nginx/conf.dĭrwxr-xr-x 2 root root 4096 Mar 8 00:34. - The Professional IT Community Software Webserver Plesk Onyx 17.5. The error is presented because a request being sent to the server contains more data than Nginx allows by default. This instructs Elastic Beanstalk to create a file in /etc/nginx/conf.d/ called 00_client_max_body_nf, and to place a single line in this file containing: client_max_body_size 10m īundle up your application and upload a new version to Elastic Beanstalk. In that folder create a new file, let's call it "nfig", and place the following into that file:. You have to increase clientmaxbodysize to allow users to post large documents. For your specific case, in your local application home folder, you should have a. Default Nginx config limits client request body with 1Mb. You can customize the software on a Linux Elastic Beanstalk instance using environment configuration files.
0 Comments
Leave a Reply. |