1.8 KiB
1.8 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.
___ ___
| __|_ _ _ _ __ _ _| _ \__ _ __ _ ___ ___
| _/ _` | ' \/ _| || | _/ _` / _` / -_|_-<
|_|\__,_|_||_\__|\_, |_| \__,_\__, \___/__/
|__/ |___/

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
- Copy content in
nginx.confinto your nginx website config. - Move the
fancy-pagesfolder to the same folder level as your serving location. For example, if your location directive is/mydatabase, the theme should be located/fancy-pages. - Restart or reload nginx.
Options
It’s possible to ‘titleize’ the current path, which removes
underscores and capitalizes words properly. This is disabled by default,
but can be enabled in js/script.js.