summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins/etc
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-12-20 18:57:32 +0100
committerHolger Levsen <holger@layer-acht.org>2016-12-20 18:57:32 +0100
commite0c3c09d9629d4a98446c374945264184aeba406 (patch)
tree5d71168b1202b045eecf57aae6528ac5deb2ece0 /hosts/jenkins/etc
parent48d9eb69dd9d76eb2cbbab3182b549bad04a6504 (diff)
downloadjenkins.debian.net-e0c3c09d9629d4a98446c374945264184aeba406.tar.xz
make www.reproducibl-builds.org work
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'hosts/jenkins/etc')
-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>
+