Disable Directory Browsing

1. Apache solution 
  a) etc/apache2/apache2.conf
  b) etc/apache2/sites-available/site.conf

<Directory /var/www/>
        Options FollowSymLinks
	AllowOverride None
	Require all granted
</Directory>

#<Directory /var/www/>
#	Options Indexes FollowSymLinks
#	AllowOverride None
#	Require all granted
#</Directory>

2. htaccess solution 
  In directory add file: .htaccess
    Options -Indexes
3. Add index.html (simple solution)
  Sorry, the page you are looking for could not be found.

4. htaccess ignore solution
  IndexIgnore *
  IndexIgnore *.jpg