eximconf: more RBLs for the default set
[mirror/dsa-puppet.git] / modules / roles / templates / planet_master / planet-master.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 Use common-debian-service-https-redirect * planet-master.debian.org
7 <VirtualHost *:443>
8         ServerName planet-master.debian.org
9         ServerAdmin debian-admin@lists.debian.org
10
11         Use common-debian-service-ssl planet-master.debian.org
12         Use common-ssl-HSTS
13
14         <IfModule mod_userdir.c>
15                 UserDir disabled
16         </IfModule>
17         ErrorLog ${APACHE_LOG_DIR}/planet-master.debian.org-error.log
18         CustomLog ${APACHE_LOG_DIR}/planet-master.debian.org-access.log privacy
19         ServerSignature On
20
21         DocumentRoot /srv/planet.debian.org/www
22         <Directory /srv/planet.debian.org/www>
23                 # Localhost
24                 Require ip ::1
25                 Require ip 127.0.0.1
26 <%=
27   lines = []
28   scope.lookupvar('base::public_addresses').each do |addr|
29     lines << "\t\tRequire ip #{addr}"
30   end
31   lines.join("\n")
32 # vim:set et:
33 # vim:set sts=2 ts=2:
34 # vim:set shiftwidth=2:
35 %>
36         </Directory>
37 </VirtualHost>