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:
parent
1b2930c52d
commit
0ac162fdc6
3 changed files with 8 additions and 8 deletions
|
@ -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.
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue