1ac6c65b8ddbe3b9b2eb3b91684ae684811c622c
[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         ServerAlias debug.backend.mirrors.debian.org
13         ServerAlias *.debug.backend.mirrors.debian.org
14
15         RedirectMatch "^/$" /debian-debug/
16         Alias /debian-debug <%= @archive_root %>
17         Alias /_health /run/dsa-mirror-health-debug/health
18         <Directory /run/dsa-mirror-health-debug/>
19                 Require all granted
20         </Directory>
21
22         ErrorLog /var/log/apache2/debug.mirrors.debian.org-error.log
23         CustomLog /var/log/apache2/debug.mirrors.debian.org-access.log privacy
24
25         Use ftp-archive <%= @archive_root %>
26
27         <IfModule mod_userdir.c>
28                 UserDir disabled
29         </IfModule>
30 </VirtualHost>
31 # vim:set syn=apache: