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

Posted by Swapnil P. (swapnil_p98)
on 2012-08-09 21:14
How to write the below code in nginx.conf which is currently in
httpd.conf?

<IfModule mod_dav_fs.c>
    # Location of the WebDAV lock database.
    DAVLockDB /var/lib/dav/lockdb
</IfModule>


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,
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.