Skip to content

EpicMorg/nginx-index-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 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';
  }
}

About

Nginx Index Template

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • XSLT 68.4%
  • JavaScript 21.9%
  • CSS 9.7%