sudo vi /opt/nginx/conf/nginx.conf
Add the following line to http or server or location context to increase the size limit in nginx.conf, enter:
# set client body size to 2M #
client_max_body_size 2M;
$ service nginx reload
sudo vi /opt/nginx/conf/nginx.conf
Add the following line to http or server or location context to increase the size limit in nginx.conf, enter:
# set client body size to 2M #
client_max_body_size 2M;
$ service nginx reload