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
6 <% @binds.each do |bind| -%>
7 Use common-debian-service-https-redirect "<%= bind %>" "<%= @syncproxy_name %>"
10 <Virtualhost <%= @binds.map { |bind| "#{bind}:443" }.join(' ') %> >
11 ServerName <%= @syncproxy_name %>
12 DocumentRoot /srv/www/syncproxy.debian.org/htdocs
14 Use common-debian-service-ssl <%= @syncproxy_name %>
16 Use http-pkp-<%= @syncproxy_name %>
18 <Directory /srv/www/syncproxy.debian.org/htdocs>
22 CustomLog /var/log/apache2/syncproxy.debian.org-access.log privacy
23 ErrorLog /var/log/apache2/syncproxy.debian.org-error.log
27 %w{debian debian-debug debian-ports debian-security}.each do |archive|
28 varname = 'has_srv_mirrors_' + archive.gsub(/[\/-]/,'_')
29 if has_variable?(varname) and (eval("@"+varname))
30 lines << " Alias /#{archive}/project/trace/ /srv/mirrors/#{archive}/project/trace/"
31 lines << " <Directory /srv/mirrors/#{archive}/project/trace/>"
32 lines << " Require all granted"
33 lines << " Options +Indexes"
34 lines << " </Directory>"
43 # vim: set ts=3 sw=3 et: