nginx上传文件报413 Request Entity Too Large错误

修改两处
nginx.conf
client_max_body_size 20M;
php.ini
upload_max_filesize = 20M

点赞