Add rounded filesize

This commit is contained in:
Isaac Shoebottom 2023-05-07 18:01:14 -03:00
parent f7d3952aef
commit ae27c742ad

View File

@ -50,6 +50,7 @@ server {
# Low Quality Music subdirectory # Low Quality Music subdirectory
location /music-lq { location /music-lq {
autoindex on; autoindex on;
autoindex_exact_size off;
sendfile on; sendfile on;
alias /home/isaac/Media/Music-LQ; alias /home/isaac/Media/Music-LQ;
} }
@ -57,6 +58,7 @@ server {
# Music subdirectory # Music subdirectory
location /music { location /music {
autoindex on; autoindex on;
autoindex_exact_size off;
sendfile on; sendfile on;
alias /home/isaac/Media/Music; alias /home/isaac/Media/Music;
} }
@ -64,6 +66,7 @@ server {
# High Quality Music subdirectory # High Quality Music subdirectory
location /music-hq { location /music-hq {
autoindex on; autoindex on;
autoindex_exact_size off;
sendfile on; sendfile on;
alias /home/isaac/Media/Music-HQ; alias /home/isaac/Media/Music-HQ;
} }
@ -71,6 +74,7 @@ server {
# Movies subdirectory # Movies subdirectory
location /movies { location /movies {
autoindex on; autoindex on;
autoindex_exact_size off;
sendfile on; sendfile on;
alias /home/isaac/Media/Movies; alias /home/isaac/Media/Movies;
} }
@ -78,6 +82,7 @@ server {
# TV subdirectory # TV subdirectory
location /tv { location /tv {
autoindex on; autoindex on;
autoindex_exact_size off;
sendfile on; sendfile on;
alias /home/isaac/Media/TV; alias /home/isaac/Media/TV;
} }
@ -85,6 +90,7 @@ server {
# Anime subdirectory # Anime subdirectory
location /anime { location /anime {
autoindex on; autoindex on;
autoindex_exact_size off;
sendfile on; sendfile on;
alias /home/isaac/Media/Anime; alias /home/isaac/Media/Anime;
} }