Welcome! Log In Create A New Profile

Advanced

413 Request Entity Too Large nginx/1.18.0 (Ubuntu)

Posted by wrknight 
413 Request Entity Too Large nginx/1.18.0 (Ubuntu)
October 16, 2020 04:23PM
This message occurs whenever I attempt to upload a file greater than 2M in wordpress. I have made the follow changes in order to increase the allowed file upload sizes:

nginx.conf
client_max_body_size 200M;

php.ini
upload_max_filesize = 200M
max_file_uploads = 20
Post_max_size = 256M

wp-config.php
@ini_set( 'upload_max_filesize' , '200M' );
@ini_set( 'post_max_size' , '256M' );
@ini_set( 'memory_limit' , 256M' );

Even with these parameters set in the three configuration files I am still getting the message
413 Request Entity Too Large nginx/1.18.0 (Ubuntu)

Can anyone help?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 52
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready