https://github.com/kstep/nginx-autoindex-js
Nice nginx JSON autoindex AJAX-client
https://github.com/kstep/nginx-autoindex-js
Last synced: 4 months ago
JSON representation
Nice nginx JSON autoindex AJAX-client
- Host: GitHub
- URL: https://github.com/kstep/nginx-autoindex-js
- Owner: kstep
- Created: 2015-10-19T00:03:51.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-05-28T18:07:25.000Z (about 5 years ago)
- Last Synced: 2025-02-18T02:42:19.613Z (over 1 year ago)
- Language: HTML
- Homepage:
- Size: 379 KB
- Stars: 18
- Watchers: 6
- Forks: 14
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
JavaScript frontend for Nginx JSON autoindex format
===================================================
Since nginx version 1.7.9 it supports `autoindex_format json;` directive.
When the directive is on, nginx produces very lightweight autoindex in JSON format.
This project is a JS frontend (written with AngularJS and Twitter Bootstrap) which
builds on this feature to provide modern AJAX autoindex facility.
Minimal nginx config example is in `nginx.conf` file included in the repository.
Once nginx is configured and running, put contents of the repository under some
document root, so nginx can serve it, and open `index.html` in browser via nginx.
To configure, rename `config-example.json` to `config.json` and set `base_index_url`
option to a path configured in nginx with `autoindex_format json;`.