I followed that link to make the changes and it did not fix it.
I added this to /etc/nginx/sites-enabled/default
server {
listen 81; ## listen for ipv4; this line is default and implied
#listen [::]:80 default ipv6only=on; ## listen for ipv6
root /usr/share/nginx/www;
index index.html index.htm;
# Make site accessible from https://localhost/
server_name localhost;
client_max_body_size 100M;
I added this to /wordpress/wp-config.php
// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘wordpress’);
/** MySQL database username */
define(‘DB_USER’, ‘root’);
/** MySQL database password */
define(‘DB_PASSWORD’, ‘jb*1978*’);
/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);
/** Database Charset to use in creating database tables. */
define(‘DB_CHARSET’, ‘utf8’);
/** The Database Collate type. Don’t change this if in doubt. */
define(‘DB_COLLATE’, ”);
/** Increase limit for uploads. */
define(‘WP_MEMORY_LIMIT’, ‘100M’);
My upload max size at /etc/php5/cgi/php.ini has always been this
; Maximum allowed size for uploaded files.
; https://php.net/upload-max-filesize
upload_max_filesize = 250mb