From the Plesk Panel you can set the PHP upload_max_filesize at Website & Domains -> PHP Setting. But if you’re using Nginx then you may also need to configure Nginx to allow larger uploads. We saw errors like this in the /var/log/nginx/error_log:
1 |
2014/04/15 15:33:19 [error] 18042#0: *21376 client intended to send too large body: 1300191 bytes, client: x.x.x.x, server: , request: "POST /index.php/amfile/adminhtml_file/update/ HTTP/1.1", host: "dev.acme.com", referrer: "http://dev.acme.com/index.php/admin/catalog_product/edit/id/" |
To resolve the issue edit /etc/nginx/nginx.conf and set client_max_body_size by adding the highlighted line:
1 2 3 4 5 6 |
server_tokens off; client_max_body_size 15m; include /etc/nginx/conf.d/*.conf; } |