ssl::service { 'd-i.debian.org' : ensure => "ifstatic", notify => Service['apache2'], }
ssl::service { 'backports.debian.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
+ ssl::service { 'www.ports.debian.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
ssl::service { 'news.debian.net' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
ssl::service { 'debaday.debian.net' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
ssl::service { 'timeline.debian.net' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
######################
# www.ports.debian.org
<% if scope.function_has_static_component(['www.ports.debian.org']) -%>
-<Virtualhost <%= vhost_listen %> >
+
+Use common-dsa-vhost-https-redirect www.ports.debian.org
+
+<Virtualhost <%= vhost_listen_443 %> >
ServerName www.ports.debian.org
ServerAlias www.ports-backend.debian.org
ServerAdmin debian-admin@lists.debian.org
ErrorLog /var/log/apache2/www.ports.debian.org-error.log
CustomLog /var/log/apache2/www.ports.debian.org-access.log privacy
+ Use common-debian-service-ssl $name
+ Use common-ssl-HSTS
+
<IfModule mod_userdir.c>
UserDir disabled
</IfModule>