Skip to content

Commit

Permalink
Merge pull request #545 from SURFscz/fix-demo1-ip-access
Browse files Browse the repository at this point in the history
Prevent Index listing on IP based access
  • Loading branch information
baszoetekouw authored Sep 10, 2024
2 parents 022a7f3 + a0ce955 commit 3c21414
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions roles/demo-apache/templates/apache.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,9 @@ SSLStaplingCache "shmcb:logs/ssl_stapling(32768)"
# Letsencrypt fallback
<VirtualHost *:80>
DocumentRoot /var/www/certbot
<Directory /var/www/certbot>
Options -Indexes
AllowOverride None
Require all granted
</Directory>
</VirtualHost>

0 comments on commit 3c21414

Please sign in to comment.