Add deb.d.o vhost
[mirror/dsa-puppet.git] / modules / roles / templates / static-mirroring / vhost / planet.debian.org.erb
index 375dd8b..758771c 100644 (file)
 
        DocumentRoot /srv/static.debian.org/mirrors/planet.debian.org/cur
        AddDefaultCharset utf-8
+       <% if @lsbmajdistrelease > '7' -%>
+               <Directory /srv/static.debian.org/mirrors/planet.debian.org/cur>
+                       Require all granted
+               </Directory>
+       <% end -%>
 
        RewriteEngine On
        RewriteCond %{HTTP_HOST} ^planeta.debian.net$ [NC]