Default nginx client_max_body_size

前端 未结 3 485
执念已碎
执念已碎 2020-12-14 04:57

I have been getting the nginx error:

413 Request Entity Too Large

I have been able to update my client_max_body_size in the se

3条回答
  •  醉梦人生
    2020-12-14 06:02

    You can increase body size in nginx configuration file as

    sudo nano /etc/nginx/nginx.conf

    client_max_body_size 100M;

    Restart nginx to apply the changes.

    sudo service nginx restart

提交回复
热议问题