Unverified Commit 4147a4fb authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

apache: do not force-redirect...

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's avatarMattia Rizzolo <mattia@debian.org>
parent 400f4610
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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