[Qa-jenkins-scm] [jenkins.debian.net] 02/02: apache: use an alias instead of proxying /robots.txt (?)
Mattia Rizzolo
mattia at debian.org
Fri Apr 6 16:28:25 UTC 2018
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository jenkins.debian.net.
commit 5175a840a58ca650d750228c564d59ea2d769ec9
Author: Mattia Rizzolo <mattia at debian.org>
Date: Fri Apr 6 18:28:01 2018 +0200
apache: use an alias instead of proxying /robots.txt (?)
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf
index 7e93c33..3462ab4 100644
--- a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf
+++ b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf
@@ -68,6 +68,7 @@ Use https-redirect www.reproducible-builds.org
AddDefaultCharset utf-8
Alias /userContent /var/lib/jenkins/userContent
+ Alias /robots.txt /var/lib/jenkins/userContent/robots.txt
# allow certain params only from alioth (token is used to trigger builds)
# this is git.d.o which is really moszumanska.d.o
@@ -117,7 +118,6 @@ Use https-redirect www.reproducible-builds.org
ProxyPass /munin !
ProxyPass /munin-cgi !
ProxyPass /server-status !
- ProxyPass /robots.txt http://localhost:8080/userContent/robots.txt
# map /d-i-preseed-cfgs to /UserContent/d-i-preseed-cfgs
ProxyPass /d-i-preseed-cfgs/ http://localhost:8080/userContent/d-i-preseed-cfgs/
ProxyPass /userContent !
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list