[Django]-413 request entity too large + The web server connection was closed | Error 64

52👍

Your error message tells it comes from nginx configuration.

You need to increase client_max_body_size on your nginx.conf server config. eg :

http {
    server {
        client_max_body_size 20M;
        listen       80;
        server_name  test.com;
    }
}
👤jujule

Leave a comment