nginx fancy-index custom templates with api server(node express)
server {
listen 80;
server_name localhost;
charset utf-8;
#access_log /var/log/nginx/host.access.log main;
error_page 404 /.fancyindex/404.html;
root /usr/share/nginx/html;
try_files $uri.html $uri $uri/ =404;
location / {
root /usr/share/nginx/html/files;
fancyindex on;
fancyindex_exact_size off;
fancyindex_localtime on;
fancyindex_footer /.fancyindex/footer.html;
fancyindex_header /.fancyindex/header.html;
fancyindex_css_href /.fancyindex/style.css;
fancyindex_time_format "%Y-%m-%d %H:%M:%S";
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
- Search
- File Upload (Multi file support)
- Edit