|
%!s(int64=2) %!d(string=hai) anos | |
---|---|---|
.. | ||
README.md | %!s(int64=2) %!d(string=hai) anos | |
davindex-footer.html | %!s(int64=2) %!d(string=hai) anos | |
davindex-header.html | %!s(int64=2) %!d(string=hai) anos | |
nginx.conf | %!s(int64=2) %!d(string=hai) anos | |
webdav.conf | %!s(int64=2) %!d(string=hai) anos |
To utilise this example, you'll need a running nginx server with the fancyindex module and (obviously) WebDAV enabled including dav-ext-module.
Copy the files in this directory to /usr/local/share/webdavjs-nginx/, and add the following line to your server config:
include /usr/local/share/webdavjs-nginx/webdavindex.conf;
By using the fancyindex module and having the module's generated index under
<noscript>
tags, a directory index is still available to clients that can not
use JavaScript, including wget
or MPD's curl storage plugin backend.