In the upload, Nginx returned 413 error, look at the log file, the error message displayed is: "413 Request Entity Too Large", the following settings need to be done:
Open Nginx Main profile nginx.conf, find http{} segment, add client_max_body_size related settings, this value by default is 1m, can be increased to 3m to increase the file size limit;
Client_max_body_size 3m;
Client_body_buffer_size 128k;
Proxy_connect_timeout 600;
Proxy_read_timeout 600;
Proxy_send_timeout 6000;
Proxy_buffer_size 16k;
Proxy_buffers 4 64k;
Proxy_busy_buffers_size 64k;
Proxy_temp_file_write_size 64k;
If you are running PHP, then also check the php.ini, this size client_max_body_size to and php.ini in the following values of the maximum value of the same or slightly larger, so that the submission of data is not inconsistent with the size of the error.
Post_max_size = 6M
Upload_max_filesize = 2M
Nginx 413 Request Entity Too Large