first.Nginx,config file path:/etc/nginx/nginx.conf

http {
     *
     *
     client_max_body_size 100m;//new add content
     *
     *
}

second.apache2 no action;php.ini need to modify,path:/etc/php/7.0/apache2/php.ini

*
*
upload_max_filesize = 100M
post_max_size = 100M
*
*