[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] apache: configure SSL for diffoscope.org

Mattia Rizzolo gitlab at salsa.debian.org
Wed May 16 13:11:20 BST 2018


Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net


Commits:
9034bf1e by Mattia Rizzolo at 2018-05-16T14:10:50+02:00
apache: configure SSL for diffoscope.org

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf


Changes:

=====================================
hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf
=====================================
--- a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf
+++ b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf
@@ -59,9 +59,12 @@ Use https-redirect reproducible.debian.net
 Use https-redirect tests.reproducible-builds.org
 Use https-redirect reproducible-builds.org
 Use https-redirect www.reproducible-builds.org
+Use https-redirect diffoscope.org
+Use https-redirect www.diffoscope.org
 
-<VirtualHost *:80>
+<VirtualHost *:443>
 	Use common-directives diffoscope.org
+	Use common-directives-ssl diffoscope.org
 	DocumentRoot /srv/diffoscope.org/www
 	AddDefaultCharset utf-8
 
@@ -203,6 +206,13 @@ Use https-redirect www.reproducible-builds.org
 	Redirect permanent / https://reproducible-builds.org/
 </VirtualHost>
 <VirtualHost *:443>
+	Use common-directives www.diffoscope.org
+	Use common-directives-ssl diffoscope.org
+
+	# just redirect everything to non-www
+	Redirect permanent / https://diffoscope.org/
+</VirtualHost>
+<VirtualHost *:443>
 	Use common-directives reproducible.debian.net
 	Use common-directives-ssl reproducible.debian.net
 



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/9034bf1e6604bc1ad9cfc69e0331206c662a7ebf

---
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/9034bf1e6604bc1ad9cfc69e0331206c662a7ebf
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20180516/7a1d6ff3/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list