Upload image 413: Request Entity Too Large error handling

Reason: There is also a limit on the upload file size in the nginx configuration. So when the form is submitted, there is an error in nginx before it reaches SpringMvc
Solution: Modify client_max_body_size 2m in the nginx configuration file   ; change it to the desired size

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324891649&siteId=291194637