Stop nginx from trimming file name in directory list?

It looks like the only way to that is to edit the source code. The following #define in src/http/modules/ngx_http_autoindex_module.c have to be changed:

#define NGX_HTTP_AUTOINDEX_NAME_LEN     50

Maybe something else needs to be tweaked too, but that's what I saw at first glance.