fancyindex for /media/

This commit is contained in:
root 2022-08-06 20:52:49 -04:00
parent ed3bcd0087
commit b53efa73e1
1 changed files with 6 additions and 2 deletions

View File

@ -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