Closed obilodeau closed 6 years ago
It seems easy to implement, it could be an easy flag. Do you want to do the PR? 👍
Cool to know but no. I've switched to an nginx-alpine container instead and my workshop is now over.
I mentioned this on another issue, but Google takes us here too. Here's a workaround:
Create an index.html
file in the directory that you want to disable listings in I've created an empty one and now file listings don't occur.
There should be a way to disable directory listing. It can reveal files that shouldn't be visible.
As a work-around, I know I can put empty
index.html
files in every directories but it is not convenient for large file trees.