1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

'fancyindex on;' in nginx/templates/iiab.conf.j2 instead + box/info resiliency

This commit is contained in:
root 2023-01-10 19:42:19 -05:00
parent 1b2930c52d
commit 0ac162fdc6
3 changed files with 8 additions and 8 deletions

View file

@ -11,6 +11,10 @@ location /local_content/ {
fancyindex on; # autoindex on;
}
location /info {
fancyindex on; # Directory listing for http://box/info/admin-console/
}
location /modules/ {
fancyindex on; # Enable fancy indexes.
fancyindex_exact_size off; # Output human-readable file sizes.

View file

@ -7,10 +7,6 @@ server {
index index.php index.html index.htm;
location /info {
autoindex on; # Directory listing for http://box/info/admin-console/
}
# NGINX's 1MB default is far too low for Calibre-Web and LMS-like apps.
# So IIAB sets this to 500M, roughly aligning with similar settings...
# 1. 'upload_max_filesize = 500M' and 'post_max_size = 500M' are SOMETIMES set in: