summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins/etc/apache2/sites-available
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/jenkins/etc/apache2/sites-available')
-rw-r--r--hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf
index a10f9989..54fe8e06 100644
--- a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf
+++ b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf
@@ -99,6 +99,7 @@ Use common-debian-service-https-redirect jenkins.debian.net
Use common-debian-service-https-redirect reproducible.debian.net
Use common-debian-service-https-redirect tests.reproducible-builds.org
Use common-debian-service-https-redirect reproducible-builds.org
+Use common-debian-service-https-redirect www.reproducible-builds.org
<VirtualHost *:443>
Use common-directives jenkins.debian.net
@@ -361,3 +362,12 @@ Use common-debian-service-https-redirect reproducible-builds.org
</Directory>
</VirtualHost>
+<VirtualHost *:443>
+ Use common-directives www.reproducible-builds.org
+ Use common-directives-ssl-chain startcom.crt
+ SSLCertificateFile /etc/apache2/ssl/reproducible-builds.org.pem
+
+ # just redirect everything to non-www
+ Redirect permanent / https://reproducible-builds.org/
+</VirtualHost>
+