Name: Nginx-Fancyindex-Theme
Owner: Team Kodi
Description: Theme for Nginx' fancyindex module
Forked from: twiddern/Nginx-Fancyindex-Theme
Created: 2017-05-20 12:21:08.0
Updated: 2018-01-04 14:46:12.0
Pushed: 2017-05-22 17:05:30.0
Size: 971
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A prettier theme for nginx' fancyindex module. Further details about this excellent module can be found at the dev's github page.
NGX-FANCYINDEX truncates the file name to 50 characters subtracts 3 and then appends a “..>” to the truncated name. This can be fixed by recompiling NGX-FANCYINDEX after changing line 55 of “ngx_http_fancyindex_module.c”:
From:
#define NGX_HTTP_FANCYINDEX_NAME_LEN 50
To:
#define NGX_HTTP_FANCYINDEX_NAME_LEN 500 (or some other number greater than 50)
In the nginx fancyindex module 0.4.0 or higher, it is now possible to use a directive to control the name length.
fancyindex_name_length
Syntax: fancyindex_name_length length
Default: fancyindex_name_length 50
Context: http, server, location
Description: Defines the maximum file name length limit in bytes.