Parses request body storing all files being uploaded to a directory specified by vkupload_file_path directive.
Syntax: vkupload_pass location
Default: —
Context: location
Specifies location to pass request body to. File fields will be stripped and replaced by fields, containing necessary information to handle uploaded files.
Syntax: vkupload_field name value
Default: —
Context: location
Specifies a form field(s) to generate for each uploaded file in request body passed to backend.
Syntax: vkupload_file_path directory [level1 [level2]] ...
Default: —
Context: location
Specifies a directory to which output files will be saved to. The directory could be hashed.
Syntax: vkupload_file_access mode
Default: user:rw
Context: location
Specifies access mode which will be used to create output files.
Syntax: vkupload_multipart on | off
Default: —
Context: location
Enables multipart uploads.
Syntax: vkupload_multipart_field name
Default: —
Context: location
Fields name with file content in multipart request.
Syntax: vkupload_resumable on | off
Default: —
Context: location
Enables resumable uploads. Protocol spec: http://www.grid.net.ru/nginx/resumable_uploads.en.html
Syntax: vkupload_resumable_session_zone name [size]
Default: —
Context: location
Shared memory zone name and size for resumable states.
Path to uploaded file
MD5 of uploaded file
Size of uploaded file
Name of uploaded file, get from "filename" from Content-Disposition header
Field of uploaded file, get from "field" from Content-Disposition header