WebDAV is an extension of the well-known HTTP protocol. While HTTP was designed for visitors to download resources from a website (in other words, reading data), WebDAV extends the functionality of web servers by adding write operations, such as creating files and folders, moving and copying files, and more. The Nginx WebDAV module implements a small subset of the WebDAV protocol:
Directive |
Description |
dav_methods Context: http, server, location |
Selects the DAV methods you want to enable. Syntax: dav_methods [off | [PUT] [DELETE] [MKCOL] [COPY] [MOVE]]; Default: off |
dav_access Context: http, server, location |
Defines access permissions at the current level. Syntax: dav_access [user:r|w|rw] [group:r|w|rw] [all:r|w|rw]; Default: dav_access user:rw; |
create_full_put_path Context: http, server, location |
This directive defines the behavior when a client requests to create a file in a directory that does not exist. If set to on, the directory path is created. If set to off, the file creation fails. Syntax: on or off Default: off |
min_delete_depth Context: http, server, location |
This directive defines a minimum URI depth for deleting files or directories when processing the DELETE command. Syntax: Numeric value Default: 0 |