Feature Request: Do not list files which are not readable by nginx
Zykino opened this issue · 0 comments
Zykino commented
I made a log folder of the system accessible from a page which use fancyindex.
On the standard configuration fancyindex will list every files in the folder (since nginx has execution right on the folder). Now from the web some files are unreadable.
I would like to be able to ignore all unreadable files without entering manually each of them.
As a side note I discovered that when fancyindex_ignore forw with strings (nginx not compiled with PCRE), the function ignore anything that start with the string. Is it a bug? Can you add this info in the doc if it's intended? For now it help me a lot with logs who have a timestamp in their filename.