The solution to the Nginx 413 Request Entity Too Large error in the request

The 413 Request Entity Too Large error that appears in Nginx, this error usually occurs when uploading files, open the nginx main configuration file nginx.conf, find the http{} section, add

The solution is

Open the nginx main configuration file nginx.conf, usually in /usr/local/nginx/conf/nginx.conf, find the http{} section, modify or add

client_max_body_size 500m;

 

Then restart nginx,

nginx -s reload

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326786860&siteId=291194637