Trying out a table in the README.md

This commit is contained in:
2024-04-11 21:28:50 +03:00
parent 87f14e0253
commit 7b8996175b

View File

@@ -43,12 +43,14 @@ TODO webdav apis with an htpasswd file through nginx basic authentication
TODO webdav apis with database managed through django TODO webdav apis with database managed through django
# Directives # Directives
| Directive | Specification | Context | | Directive | Specification | Context | Description |
| --------- | ------------- | ------- | | --------- | ------------- | ------- | ----------- |
| webdav_methods | [GET] [PUT] [MKCOL] [DELETE] [PROPFIND] [OPTIONS] [LOCK] [UNLOCK]| http, server, location | | webdav_methods | [GET] [PUT] [MKCOL] [DELETE] [PROPFIND] [OPTIONS] [LOCK] [UNLOCK]| http, server, location | Allowed HTTP methods |
| webdav_lock | dav_ext_lock zone=NAME | http, server, location | | create_full_put_path | (on | off) | http, server, location | Whether to allow creating all needed intermediate directories during an PUT request |
| webdav_lock_zone | zone=NAME:SIZE [timeout=TIMEOUT] | http | | webdav_access | users:permissions | http, server, location | Sets access permissions for newly created files and directories |
| min_delete_depth number | (0 | 1 | 2 | ...) | http, server, location | Allows the DELETE method to remove files provided that the number of elements in a request path is not less than the specified number |
| webdav_lock | dav_ext_lock zone=NAME | http, server, location | Enables WebDAV locking in the specified scope |
| webdav_lock_zone | zone=NAME:SIZE [timeout=TIMEOUT] | http | Defines a shared zone for WebDAV locks with specified NAME and SIZE. Also, defines a lock expiration TIMEOUT. Default lock timeout value is 1 minute. |