dav_ext_lock_zone
Defines a shared memory zone for managing WebDAV lock states in NGINX.
NGINX WebDAV PROPFIND,OPTIONS,LOCK,UNLOCK support
·
http
Syntaxdav_ext_lock_zone zone=NAME:SIZE [timeout=TIMEOUT];
Defaultnone
Contexthttp
Arguments1-2
Description
The dav_ext_lock_zone directive configures a shared memory zone used for WebDAV locking functionalities. This directive is essential for storing information about currently active locks, including details like lock expiration, token, and scope. It helps manage concurrency in a WebDAV environment by ensuring that resources are correctly locked and that access is controlled across multiple requests.
Config Example
http {
dav_ext_lock_zone lockzones:10m timeout=60s;
}⚠
Ensure that the size of the zone is sufficient to handle the expected number of locks; otherwise, performance may degrade.
⚠
The specified zone name must match with the dav_ext_lock directive to function correctly.