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

Swapnil P. lists at ruby-forum.com
Thu Aug 9 19:14:40 UTC 2012


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,

-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list