2019-12-17 15:25:22 +00:00
|
|
|
location / {
|
2019-12-20 14:33:26 +00:00
|
|
|
rewrite ^/$ $1{{ iiab_home_url }};
|
2019-12-17 15:25:22 +00:00
|
|
|
}
|
|
|
|
|
2019-12-17 15:13:58 +00:00
|
|
|
location /usb {
|
2019-12-17 15:25:22 +00:00
|
|
|
alias /library/www/html/local_content/;
|
2020-03-30 15:37:20 +00:00
|
|
|
fancyindex on; # autoindex on;
|
2019-12-17 15:13:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
location /local_content/ {
|
2020-03-30 15:37:20 +00:00
|
|
|
fancyindex on; # autoindex on;
|
2019-12-17 15:13:58 +00:00
|
|
|
}
|
2019-12-09 17:10:02 +00:00
|
|
|
|
|
|
|
location /modules/ {
|
|
|
|
fancyindex on; # Enable fancy indexes.
|
|
|
|
fancyindex_exact_size off; # Output human-readable file sizes.
|
|
|
|
fancyindex_ignore index.htmlf rachel-index.php;
|
|
|
|
}
|
2020-04-22 18:55:40 +00:00
|
|
|
|
|
|
|
location /js-menu/ {
|
|
|
|
fancyindex on; # autoindex on;
|
2020-04-26 19:45:42 +00:00
|
|
|
location /js-menu/menu-files/js/ {
|
|
|
|
fancyindex off; # autoindex off;
|
|
|
|
}
|
|
|
|
location /js-menu/menu-files/services/ {
|
|
|
|
fancyindex off; # autoindex off;
|
|
|
|
}
|
2020-04-22 18:55:40 +00:00
|
|
|
}
|
2020-07-15 20:05:19 +00:00
|
|
|
|
|
|
|
location /software/ {
|
|
|
|
fancyindex on; # Enable fancy indexes.
|
|
|
|
fancyindex_exact_size off; # Output human-readable file sizes.
|
|
|
|
location ~* \.(apk)$ {
|
|
|
|
add_header Content-Type application/vnd.android.package-archive;
|
|
|
|
}
|
|
|
|
|
|
|
|
location ~* \.(zim)$ {
|
|
|
|
add_header Content-Type application/zip;
|
|
|
|
}
|
|
|
|
}
|