[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] apache: do not force-redirect…
Mattia Rizzolo
gitlab at salsa.debian.org
Mon May 21 21:27:02 BST 2018
Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net
Commits:
4147a4fb by Mattia Rizzolo at 2018-05-21T22:26:53+02:00
apache: do not force-redirect http://tests.reproducible-builds.org/debian/repository/debian to https, to allow caching by proxies
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
@@ -61,12 +61,17 @@
Use https-redirect jenkins.debian.net
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>
+ Use common-directives tests.reproducible-builds.org
+ RedirectMatch permanent "^/((?!debian/repository/debian/).*)" https://tests.reproducible-builds.org/$1
+ DocumentRoot /var/lib/jenkins/userContent/reproducible
+</VirtualHost>
+
<VirtualHost *:443>
Use common-directives diffoscope.org
Use common-directives-ssl diffoscope.org
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/4147a4fbba5bd968e99824d0b7f960ebb898af92
---
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/4147a4fbba5bd968e99824d0b7f960ebb898af92
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/20180521/35581b8f/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list