• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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