Subscribe

How to install sw-nginx-module-fancyindex in CentOS/RHEL 8 (x86_64)

NGINX Fancy Index module

License: BSD Vendor: GetPageSpeed LLC https://github.com/dvershinin/ngx-fancyindex
Important: The Plesk control panel must be installed on your server before using this repository.

Install

# The Plesk control panel must be installed on your server.
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --enable getpagespeed-extras-plesk
sudo dnf -y install sw-nginx-module-fancyindex

Description

The Fancy Index module makes possible the generation of file listings, like the built-in autoindex module does, but adding a touch of style. This is possible because the module allows a certain degree of customization of the generated content: * Custom headers, either local or stored remotely. * Custom footers, either local or stored remotely. * Add your own CSS style rules. * Allow choosing to sort elements by name (default), modification time, or size; both ascending (default), or descending. After installation, enable this module by running: plesk sbin nginx_modules_ctl --enable fancyindex

RPMs