The file upload size exceeds the allowed limit.

It is necessary to confirm the meaning of multiple configurations regarding the limit on the size of uploaded files.

  1. Nginx configuration Search for the client_max_body_size configuration in the Nginx configuration file and modify it to the required value. For example:
/prod-api/ {
    ......
    client_max_body_size 200m;
    ......
}
  1. Spring configuration file application-xxx.yml The global file size for the configured server.
spring:
  servlet:
    
  1. Configuration for the maximum upload size of CMS resource files. Backend menu System Management > Parameters Find it. The value of ResourceUploadAcceptSize should be adjusted. The unit is bytes. 869412479086661.png

On this page