• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Resolved nginx file upload limit

Ayki

Basic Pleskian
I am trying to increase the file upload limit from 128MB to 1G in Plesk Obsidian(Centos). Unfortunately nothing worked so far. I have adujsted the following:
php.ini
post_max_size 2000M
upload_max_filesize 2000M
max_file_uploads 20
max_execution_time 600

And in Apache server:
/etc/httpd/conf/httpd.conf
LimitRequestBody 2147483647

Also in nginx both in http { } and server { } levels

client_max_body_size 500m;
client_body_timeout 600;

And still getting the following error:

124048#0: *1187 client intended to send too large body: 143324837 bytes

Is this something to the with mod-security or can anyone offer a suggestions please

Thanks
 
Back
Top