Upload#

The upload module handles file uploads sent with multipart/form-data encoding, as defined by RFC 1867. The module saves the uploaded files to a directory and replaces each file in the request body with form fields that the configuration sets, such as the file's name and the path to the saved copy. Then the module passes the altered request to another location. It also supports resumable uploads using the POST method.

Installation#

To install the module, use one of the following packages:

  • Angie: angie-module-upload;

  • Angie PRO: angie-pro-module-upload.

Loading the Module#

To use the module, it must be loaded in the main{} context:

load_module modules/ngx_http_upload_module.so;

Additional Information#

Version: 2.3.0

Full documentation and source code are available at: fdintino/nginx-upload-module