fancyindex for /media/
This commit is contained in:
parent
ed3bcd0087
commit
b53efa73e1
|
@ -42,8 +42,12 @@ location /.well-known/matrix/client {
|
|||
return 200 '{"m.homeserver": {"base_url": "https://mtrx.vern.cc"}, "m.identity_server": { "base_url": "https://vector.im" }}';
|
||||
}
|
||||
|
||||
location /media/ {
|
||||
autoindex on;
|
||||
location ~ ^(/media/|/canaries/)$ {
|
||||
#autoindex on;
|
||||
fancyindex on;
|
||||
fancyindex_exact_size off;
|
||||
fancyindex_default_sort date_desc;
|
||||
fancyindex_time_format "%a, %e %B %Y %I:%M:%S %p";
|
||||
}
|
||||
|
||||
## users
|
||||
|
|
Loading…
Reference in New Issue