summaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-31 13:49:09 -0600
committerHolger Levsen <holger@layer-acht.org>2015-10-31 13:49:09 -0600
commit22add230c3a267bf5d1b8e8d5bd88c73009c68f9 (patch)
tree523b6bbca6ba402944d600ec88f94869d0feb720 /hosts
parentb32118218c89ad429ef26fa03ed16d55069728ac (diff)
downloadjenkins.debian.net-22add230c3a267bf5d1b8e8d5bd88c73009c68f9.tar.xz
Revert "Setup reproducible-builds.org website"
This reverts commit b32118218c89ad429ef26fa03ed16d55069728ac.
Diffstat (limited to 'hosts')
-rw-r--r--hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net14
1 files changed, 10 insertions, 4 deletions
diff --git a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net
index 0776c7e9..f3218582 100644
--- a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net
+++ b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net
@@ -314,11 +314,17 @@ Use common-debian-service-https-redirect reproducible-builds.org
Use common-directives reproducible-builds.org startcom.crt
SSLCertificateFile /etc/apache2/ssl/reproducible-builds.org.pem
- DocumentRoot /srv/reproducible-builds.org/www
+ DocumentRoot /var/lib/jenkins/userContent/reproducible
AddDefaultCharset utf-8
- Alias /website.git /srv/reproducible-builds.org/git/website.git
- Alias /specs /var/lib/jenkins/userContent/reproducible/specs
- Alias /howto /var/lib/jenkins/userContent/reproducible/howto
+ # redirects reproducible-builds.org to https://reproducible.debian.net except for /specs/ and /howto/
+ RewriteCond %{HTTP_HOST} reproducible-builds\.org
+ RewriteCond %{REQUEST_URI} !^/specs($|/)
+ RewriteCond %{REQUEST_URI} !^/howto($|/)
+ RewriteRule ^/?(.*) https://reproducible.debian.net/$1 [R=301,L]
+
+ <Proxy *>
+ Require all granted
+ </Proxy>
</VirtualHost>