diff --git a/templates/apache2.conf.j2 b/templates/apache2.conf.j2
index 350a0f5bd8915368366b884624476338ef46d5e2..bea69a88ed4fe48574084a4f733db71a5baecff1 100644
--- a/templates/apache2.conf.j2
+++ b/templates/apache2.conf.j2
@@ -177,18 +177,20 @@ Include ports.conf
 </Directory>
 
 <Directory "/var/www/">
-	Options Indexes FollowSymLinks
+	Options FollowSymLinks
 	AllowOverride None
 	Require all granted
 </Directory>
 
+{% if apache_chroot is defined and apache_chroot %}
 <IfFile "{{ apache_chroot_dir }}/var/www">
 	<Directory "{{ apache_chroot_dir }}/var/www/">
-	 	Options Indexes FollowSymLinks
+	 	Options FollowSymLinks
 		AllowOverride None
 		Require all granted
 	</Directory>
 </IfFile>
+{% endif %}
 
 #<Directory /srv/>
 #	Options Indexes FollowSymLinks