site => 'default-debian.org',
content => template('apache2/default-debian.org.erb'),
}
+ apache2::site { 'xx-default-ssl':
+ site => 'default-debian.org-ssl',
+ content => template('apache2/default-debian.org-ssl.erb'),
+ }
apache2::site { '000-default':
ensure => absent,
--- /dev/null
+##
+## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
+##
+
+<IfModule mod_ssl.c>
+<VirtualHost *:443>
+ ServerAdmin debian-admin@debian.org
+ SSLEngine on
+ SSLCertificateFile /etc/ssl/debian/certs/thishost-server.crt
+ SSLCertificateKeyFile /etc/ssl/debian/keys/thishost-server.key
+ SSLCertificateChainFile /etc/ssl/debian/certs/ca.crt
+
+ ErrorLog /var/log/apache2/error.log
+ CustomLog /var/log/apache2/access.log privacy
+
+ DocumentRoot /srv/www/default.debian.org/htdocs
+ <Directory /srv/www/default.debian.org/htdocs>
+ Require all granted
+ </Directory>
+
+ HostnameLookups Off
+ UseCanonicalName Off
+ ServerSignature On
+
+ <IfModule mod_userdir.c>
+ UserDir disabled
+ </IfModule>
+</VirtualHost>
+</IfModule>
+# vim:set syn=apache: