nginx-fancy-pages/README.md

1.6 KiB

nginx-fancy-pages

A modern drop in replacement for default Apache index/error pages. This is an nginx-compatible version of apache-fancy-pages, with details kept largely the same.

  ___                  ___
 | __|_ _ _ _  __ _  _| _ \__ _ __ _ ___ ___
 | _/ _` | ' \/ _| || |  _/ _` / _` / -_|_-<
 |_|\__,_|_||_\__|\_, |_| \__,_\__, \___/__/
                  |__/         |___/
 

preview_auto-index-ondesktop preview_auto-index-on-mobile preview_error-401

Features

  • Responsive design
  • Breadcrumb navigation
  • Search/Filter results
  • Light/Dark theme based on user prefered color scheme
  • Replacement for default error pages: 401, 403, 404, 500

Requirements

  • The NGINX Fancyindex module is compiled with nginx.

Limitations

  • On mobile, column headers are hidden so sorting is implicitly disabled.

Install

  1. Copy content in nginx.conf into your nginx website config.
  2. Move the fancy-pages folder to the same folder level as your serving location. For example, if your location directive is /mydatabase, the theme should be located /fancy-pages.
  3. Restart or reload nginx.