Skip to content

Zeilenwerk/dokku-nginx-max-upload-size

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dokku Nginx Max Upload Size

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.

Installation

# on 0.4.x+
sudo dokku plugin:install https://github.com/Zeilenwerk/dokku-nginx-max-upload-size.git

Usage

# 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