From the command line inside any directory:
Options -Indexes
For example, a search for intitle:"index of" "backup.zip" might reveal forgotten server backups, while intitle:"index of" .pdf "research" could lead to a repository of academic documents. How to Disable Directory Indexing index of files
When the server chooses option two, the result is the "Index of Files." It is a raw, unpolished look at the server’s hard drive, exposing the digital skeleton of the website. From the command line inside any directory: Options
We may see a resurgence of controlled, authenticated directory indexes as lightweight alternatives to bloated cloud storage interfaces. index of files
sudo systemctl reload nginx