projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add deb.d.o vhost
[mirror/dsa-puppet.git]
/
modules
/
roles
/
templates
/
static-mirroring
/
vhost
/
planet.debian.org.erb
diff --git
a/modules/roles/templates/static-mirroring/vhost/planet.debian.org.erb
b/modules/roles/templates/static-mirroring/vhost/planet.debian.org.erb
index
375dd8b
..
758771c
100644
(file)
--- a/
modules/roles/templates/static-mirroring/vhost/planet.debian.org.erb
+++ b/
modules/roles/templates/static-mirroring/vhost/planet.debian.org.erb
@@
-12,6
+12,11
@@
DocumentRoot /srv/static.debian.org/mirrors/planet.debian.org/cur
AddDefaultCharset utf-8
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]
RewriteEngine On
RewriteCond %{HTTP_HOST} ^planeta.debian.net$ [NC]