Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 626 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 626 Bytes

Nginx-FancyIndex-Theme

My personnal theme of Nginx-FancyIndex. screenshot

Requirements

  1. nginx
  2. fancyindex module (nginx-extras)

Installation

  1. git clone https://github.com/artyuum/Nginx-FancyIndex-Theme.git /etc/nginx/fancyindex_theme.
  2. Edit your virtual host as follow :
location /  {
    fancyindex on;
    fancyindex_header "/fancyindex_theme/header.html";
    fancyindex_ignore "/fancyindex_theme";
}

location /fancyindex_theme {
    alias /etc/nginx/fancyindex_theme;
    try_files $uri $uri/ =404;
}
  1. Done!