]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/roles/templates/static-mirroring/vhost/planet.debian.org.erb
Add timeline.debian.net to the static CDN
[dsa-puppet.git] / modules / roles / templates / static-mirroring / vhost / planet.debian.org.erb
index 375dd8bb8060a8019ad55ca4b3a3eef05b402ecc..758771caed8b0741d43fda8daf31153868bfb6ad 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]