How to give location of WebDAV lock database in nginx.conf?

How to write the below code in nginx.conf which is currently in
httpd.conf?

# Location of the WebDAV lock database. DAVLockDB /var/lib/dav/lockdb

I have written below:

if (mod_dav_fs.c) {
# Location of the WebDAV lock database.
location ~ /var/lib/dav/lockdb {
DAVLockDB
}
}

Not sure how to write DAVLockDB inside {}.

Thanks,