Coder Social home page Coder Social logo

xenia101 / fancy-index-templates-with-server Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 3.43 MB

nginx fancy-index custom templates with api server

HTML 1.65% JavaScript 18.16% CSS 18.01% Less 29.61% SCSS 32.58%
expressjs fancy-index file-download file-server file-upload nginx nodejs bulma bulma-css-framework directory-listing

fancy-index-templates-with-server's Introduction

Nginx fancy-index templates

nginx fancy-index custom templates with api server(node express)


Nginx config

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

Demo

  • Search

  • File Upload (Multi file support)

  • Edit

fancy-index-templates-with-server's People

Contributors

xenia101 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.