diff options
-rw-r--r-- | hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net index af07ca90..4042eac7 100644 --- a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net +++ b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net @@ -299,8 +299,8 @@ Use common-debian-service-https-redirect reproducible-builds.org # 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/$ + RewriteCond %{REQUEST_URI} !^/specs($|/) + RewriteCond %{REQUEST_URI} !^/howto($|/) RewriteRule ^/?(.*) https://reproducible.debian.net/$1 [R=301,L] <Proxy *> |