diff --git a/roles/nginx/templates/iiab.conf.j2 b/roles/nginx/templates/iiab.conf.j2 index d1c01c122..76b8c0aa0 100644 --- a/roles/nginx/templates/iiab.conf.j2 +++ b/roles/nginx/templates/iiab.conf.j2 @@ -16,3 +16,13 @@ location /modules/ { fancyindex_exact_size off; # Output human-readable file sizes. fancyindex_ignore index.htmlf rachel-index.php; } + +location /js-menu/ { + fancyindex on; # autoindex on; + location /js-menu/menu-files/js/ { + fancyindex off; # autoindex off; + } + location /js-menu/menu-files/services/ { + fancyindex off; # autoindex off; + } +}