Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Do not list files which are not readable by nginx #70

Open
Zykino opened this issue May 30, 2017 · 0 comments
Open

Feature Request: Do not list files which are not readable by nginx #70

Zykino opened this issue May 30, 2017 · 0 comments

Comments

@Zykino
Copy link

Zykino commented May 30, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants