Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uzinfocom-org/autoindex
πΈοΈ | Custom autoindex directory listing for nginx [maintainer=@yetimdasturchi]
https://github.com/uzinfocom-org/autoindex
autoindex nginx nginx-template
Last synced: about 10 hours ago
JSON representation
πΈοΈ | Custom autoindex directory listing for nginx [maintainer=@yetimdasturchi]
- Host: GitHub
- URL: https://github.com/uzinfocom-org/autoindex
- Owner: uzinfocom-org
- License: gpl-3.0
- Created: 2023-02-16T13:02:16.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-11T15:27:51.000Z (almost 2 years ago)
- Last Synced: 2025-01-11T23:37:55.117Z (2 days ago)
- Topics: autoindex, nginx, nginx-template
- Language: JavaScript
- Homepage:
- Size: 1.19 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# oss-autoindex
πΈοΈ | Custom autoindex directory listing for nginxCopy .html folder to the folder you want to index and add the location.config file to nginx server.
Sample server:
```
server{
listen 80;root /media/files;
server_name _;
location / {
try_files $uri $uri/ =404;
add_before_body /.html/top.html;
add_after_body /.html/bot.html;
autoindex on;
autoindex_localtime on;
autoindex_exact_size on;
sub_filter '' '';
sub_filter 'Index of $uri' '';
sub_filter '' '';
sub_filter '' '';
sub_filter '' '';
sub_filter_once on;
}
}
```