项目作者: jbox-web

项目描述 :
Nginx Index Template
高级语言: XSLT
项目地址: git://github.com/jbox-web/nginx-index-template.git
创建时间: 2017-10-04T23:50:32Z
项目社区:https://github.com/jbox-web/nginx-index-template

开源协议:

下载


Nginx Index Template

Bootstrap version of : dirlist.xslt with breadcrumb

To use it :

  1. server {
  2. server_name foo.bar.baz;
  3. listen 80;
  4. root /home/aptly/endpoints;
  5. autoindex on;
  6. autoindex_format xml;
  7. access_log /var/log/nginx/aptly.access.log;
  8. error_log /var/log/nginx/aptly.error.log;
  9. location / {
  10. try_files $uri @autoindex;
  11. }
  12. location @autoindex {
  13. xslt_stylesheet /home/aptly/nginx_template.xslt path='$uri';
  14. }
  15. }

Screenshot