I looked all over the net and wasn't able to find this answer anyway, so I looked into the nginx source files and it's very easy. Simply modify the file located at src/http/modules/ngx_http_autoindex_module.c and then compile. Change these lines: #define NGX_HTTP_AUTOINDEX_PREALLOCATE 50 #define NGX_HTTP_AUTOINDEX_NAME_LEN 50 to whatever you want, such as: #define NGX_HTTPby fagtron - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
![]() |