dom111 fbe7503e1f Refine Nginx example with docker-compose file 2 年之前
..
README.md fbe7503e1f Refine Nginx example with docker-compose file 2 年之前
davindex-footer.html fbe7503e1f Refine Nginx example with docker-compose file 2 年之前
davindex-header.html fbe7503e1f Refine Nginx example with docker-compose file 2 年之前
nginx.conf fbe7503e1f Refine Nginx example with docker-compose file 2 年之前
webdav.conf fbe7503e1f Refine Nginx example with docker-compose file 2 年之前

README.md

Nginx Directory List Example

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.