and onions for ftp.ports.d.o and debug.mirrors.d.o
[mirror/dsa-puppet.git] / modules / roles / templates / apache-debug.mirrors.debian.org.erb
1 ##
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
4 ##
5
6 <VirtualHost <%= vhost_listen %> >
7         ServerAdmin debian-admin@debian.org
8         ServerName debug.mirrors.debian.org
9         <% if scope.function_onion_global_service_hostname(['debug.mirrors.debian.org']) -%>
10         ServerAlias <%= scope.function_onion_global_service_hostname(['debug.mirrors.debian.org']) %>
11         <% end %>
12
13         RedirectMatch "^/$" /debian-debug/
14         Alias /debian-debug /srv/mirrors/debian-debug
15
16         ErrorLog /var/log/apache2/debug.mirrors.debian.org-error.log
17         LogLevel warn
18         CustomLog /var/log/apache2/debug.mirrors.debian.org-access.log privacy
19
20         <Directory /srv/mirrors/debian-debug>
21                 Require all granted
22                 IndexOptions NameWidth=* +SuppressDescription
23                 Options +Indexes
24                 Options +FollowSymLinks
25         </Directory>
26         Use ftp-archive /srv/mirrors/debian-debug
27 </VirtualHost>