omagad
This commit is contained in:
commit
a17e99a52d
6 changed files with 105 additions and 0 deletions
20
README.md
Normal file
20
README.md
Normal 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;
|
||||
}
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue