Resolve 413 request entity too large error while uploading file


Upload file times 413 request entity too large

If ngin static forwarding is used:

Modify the nginx.conf configuration and add:

client_max_body_size 3024m;

Then restart nginx

Background restrictions:

Springboot adds to the configuration file:

    max-file-size: 3024MB
    max-request-size: 3024MB

Recommended Today


Supervisor [note] Supervisor – H view supervisor command help Supervisorctl – H view supervisorctl command help Supervisorctl help view the action command of supervisorctl Supervisorctl help any action to view the use of this action 1. Introduction Supervisor is a process control system. Generally speaking, it can monitor your process. If the process exits abnormally, […]