![]() ![]() The below example sets a global value of 50MB for all sites. For example, you can add it to your main config file to ensure than any site can upload the value you set. Modifying this file to change the 128m to 400m does not make a difference. You can add the clientmaxbodysize attribute to your configuration files in multiple places to control what sites or locations the attribute affects. HOWEVER (and this is where I'm stuck) after restarting the nginx service, the fille /etc/nginx//vhosts/ continues to hold the value: I proceeded to change the configuration of /etc/nginx/nf to include ![]() I've been googling this issue and everything points to the nginx configuration (PHP parameters have already been set up). This issue will be caused by nginxs low default clientmaxbodysize value (1MB). The issue I've been seeing is that whenever the user tries to upload a file greater than 128MB I see an error on the proxy_error_log that says:Ä 21:46:18 31224#0: *9 client intended to send too large body: 175420278 bytes, client: XX.XX.XX.XX, server:, request: "POST /admin/products/1 HTTP/1.1", host: "", referrer: "referrer" I have been using Plesk for a while on my server, but this is the first time that I need to set up large files uploading for a client who requires to upload via a form files that are larger than 128MB (but less than 400). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |