• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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