How to install nginx-module-fancyindex in CentOS/RHEL 8 (x86_64)
NGINX Fancy Index module
Install
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install 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. To enable this module after installation, add the following to /etc/nginx/nginx.conf and reload NGINX: load_module modules/ngx_http_fancyindex_module.so; Alternatively, you can enable all installed modules by placing this line at the top of /etc/nginx/nginx.conf: include /usr/share/nginx/modules/*.conf;