Nginx on Dokku throwing the 413 Error (Request Entity Too Large) error?
Install dokku-nginx-max-upload-size and suffer no more!
This is a Dokku plugin for setting the NGINX maximum upload size by setting the nginx client_max_body_size
directive.
# on 0.4.x+
sudo dokku plugin:install https://github.com/Zeilenwerk/dokku-nginx-max-upload-size.git
# To set a max body size, set the MAX_UPLOAD_SIZE env var
# If you unset the variable, a default of 2M will be used
dokku config:set MAX_UPLOAD_SIZE=20M