This commit is contained in:
catmpeg 2026-02-17 22:34:08 +03:00
commit a17e99a52d
6 changed files with 105 additions and 0 deletions

20
README.md Normal file
View file

@ -0,0 +1,20 @@
# My fancyindex
<img src="example.jpg" width=600>
## also you can see an example at https://cat.fs.tlpteam.ru/fancyindexexample/
## Usage
### clone repo to folder "fancyindex"
#### `$ git clone https://cat.fs.tlpteam.ru/git/cat/myfancyindex.git fancyindex`
### now you can use it like this in nginx
```
location /files/ {
fancyindex on;
fancyindex_exact_size off;
fancyindex_localtime on;
fancyindex_header /fancyindex/header.html;
fancyindex_footer /fancyindex/footer.html;
try_files $uri $uri/ =404;
}
```