2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
7 if not @binds.kind_of?(Array)
8 raise Puppet::Error, "binds variable is not an array"
11 vhost_listen = @binds.map{|x| x+":80" }.join(' ')
15 <VirtualHost <%= vhost_listen %>>
16 ServerAdmin debian-admin@debian.org
17 ServerName archive.debian.org
18 <% if scope.function_onion_global_service_hostname(['archive.debian.org']) -%>
19 ServerAlias <%= scope.function_onion_global_service_hostname(['archive.debian.org']) %>
21 ServerAlias archive.backend.mirrors.debian.org
22 ServerAlias *.archive.backend.mirrors.debian.org
24 #RedirectMatch "^/$" /debian-archive/
25 DocumentRoot <%= @archive_root %>/
26 Alias /debian-archive/ <%= @archive_root %>/
28 ErrorLog /var/log/apache2/archive.debian.org-error.log
29 CustomLog /var/log/apache2/archive.debian.org-access.log privacy
31 <Directory <%= @archive_root %>>
33 Options +Indexes +FollowSymLinks
37 ExpiresDefault "access plus 1 day"
39 <IfModule mod_userdir.c>