Install fancyindex

Theennd

Verified User
Joined
Oct 14, 2016
Messages
6
Hi i had install nginx on my directadmin and now i want install fancyindex on my nginx and all guides for nginx alon not on directadmin
if can you help me please say how can install this.
 
Hello,

Check these:

- https://help.directadmin.com/item.php?id=545
- https://www.nginx.com/resources/wiki/modules/fancy_index/

For the information on how to complete the built of NGINX with a custom module.

i do this and i install it success but i have problem with enable it:

location / {
fancyindex on; # Enable fancy indexes.
fancyindex_exact_size off; # Output human-readable file sizes.
}


nginx: [emerg] "location" directive is not allowed here in /etc/nginx/nginx.conf:32
nginx: configuration file /etc/nginx/nginx.conf test failed
 
Back
Top