“413 Request Entity Too Large” in Nginx with “client_max_body_size” set
Modify NGINX Configuration File sudo nano /etc/nginx/nginx.conf Search for this variable: client_max_body_size. If you find it, just increase its size to 100M, for example. If it doesn’t exist, then you can add it inside and at the end of http client_max_body_size 100M; Test your nginx config changes. sudo service nginx configtest Restart nginx to apply … Read more