nginx / 413 Request Entity Too Large

2019-07-12 22:49发布

When I'm trying to upload a file on my server I get this error:

413 Request Entity Too Large

Which ofcourse means my file is too large. So i've done a quick google search and came accross this:

open:

/etc/nginx/nginx.conf

Edit:

# set client body size to 2M #
client_max_body_size 2M;

However I don't have that code in my nginx.conf file? Did this recently change? Can't find nothing about it

Thanks

标签: nginx
1条回答
劳资没心,怎么记你
2楼-- · 2019-07-12 23:13

client_max_body_size default value is 1 MB. RTM

查看更多
登录 后发表回答