Skip to content
Snippets Groups Projects
Commit 939e31fe authored by Chris Croome's avatar Chris Croome
Browse files

Disable indexes by default

parent cfe12644
No related branches found
No related tags found
No related merge requests found
Pipeline #20062 passed
...@@ -177,18 +177,20 @@ Include ports.conf ...@@ -177,18 +177,20 @@ Include ports.conf
</Directory> </Directory>
<Directory "/var/www/"> <Directory "/var/www/">
Options Indexes FollowSymLinks Options FollowSymLinks
AllowOverride None AllowOverride None
Require all granted Require all granted
</Directory> </Directory>
{% if apache_chroot is defined and apache_chroot %}
<IfFile "{{ apache_chroot_dir }}/var/www"> <IfFile "{{ apache_chroot_dir }}/var/www">
<Directory "{{ apache_chroot_dir }}/var/www/"> <Directory "{{ apache_chroot_dir }}/var/www/">
Options Indexes FollowSymLinks Options FollowSymLinks
AllowOverride None AllowOverride None
Require all granted Require all granted
</Directory> </Directory>
</IfFile> </IfFile>
{% endif %}
#<Directory /srv/> #<Directory /srv/>
# Options Indexes FollowSymLinks # Options Indexes FollowSymLinks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment