Installation

_$: sudo apt install nginx-extras
_$: sudo apt install libnginx-mod-http-fancyindex

Configuration

Example

location /example {
        autoindex  on;
        charset    utf-8;

        fancyindex on;
}