Skip to content

jbox-web/nginx-index-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Nginx Index Template

Bootstrap version of : dirlist.xslt with breadcrumb

To use it :

server {
  server_name   foo.bar.baz;
  listen        80;
  root          /home/aptly/endpoints;

  autoindex     on;
  autoindex_format xml;

  access_log    /var/log/nginx/aptly.access.log;
  error_log     /var/log/nginx/aptly.error.log;


  location / {
    try_files $uri @autoindex;
  }

  location @autoindex {
    xslt_stylesheet /home/aptly/nginx_template.xslt path='$uri';
  }
}

Screenshot

Releases

No releases published

Packages

No packages published

Languages