Index Of Photo [2021]

In your configuration file ( nginx.conf ), ensure that the autoindex directive is set to off: autoindex off; . 2. Use Dummy Index Files

If you do not have access to your server configuration files, you can place a blank file named index.html inside your /photo/ folder. When someone tries to view the directory, the server will load the blank page instead of listing your files. index of photo

If you run a website and want to ensure your private images are not exposed to the public, you should disable directory browsing immediately. For Apache Servers (.htaccess) In your configuration file ( nginx