Nginx modifies the size of the uploaded file to limit the size of a newly installed server and uses nginx as the proxy. I suddenly found that the client file uploaded for more than 1 MB could not be uploaded normally, so I modified the nginx configuration. Cd/export/servers/nginx/conf/nginx. conf, the location/{root html; index index.html index.htm; client_max_body_size 1000 m;} in the server segment in this configuration file cannot be restarted. Later, we found the configuration file: sendfile on; # tcp_nopush on; # keepalive_timeout 0; keepalive_timeout 65; # gzip on; include domains /*; # include domains/chat. local; # include domains/chat.erp.com; # include domains/support.chat.com; # include douains/chat.com; server {listen 80; server_name localhost; the sub-configuration file is found, modify the configuration file. The configuration file is configured as follows: server {listen 80; server_name chat.erp.360buy.com; # access_log/export/servers/nginx/logs/chat.erp.360buy.com; location/{proxy_pass http: // tomcat; client_max_body_size 1000 m;} restart the file with/export/servers/nginx/sbin/nginx-s reload, and the file size is limited. I will share my solution process and hope to help you.