9aa05af0fe7c58dfdcf795347bb0f9a7313a9cf8
[mirror/dsa-puppet.git] / modules / roles / templates / apache-ftp.ports.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 ftp.ports.debian.org
9         <% if scope.function_onion_global_service_hostname(['ftp.ports.debian.org']) -%>
10         ServerAlias <%= scope.function_onion_global_service_hostname(['ftp.ports.debian.org']) %>
11         <% end %>
12
13         ErrorLog /var/log/apache2/ftp.ports.debian.org-error.log
14         LogLevel warn
15         CustomLog /var/log/apache2/ftp.ports.debian.org-access.log privacy
16
17         RedirectMatch "^/$" /debian-ports/
18
19         Alias /debian-ports /srv/mirrors/debian-ports
20         Use ftp-archive /srv/mirrors/debian-ports
21
22         Alias /debian-ports-cd /srv/mirrors/debian-ports-cd
23         <Directory /srv/mirrors/debian-ports-cd>
24                 Require all granted
25                 IndexOptions NameWidth=* +SuppressDescription
26                 Options +Indexes
27                 Options +FollowSymLinks
28         </Directory>
29 </VirtualHost>
30 # vim:set syn=apache: