Verified Commit 93a6d1ac authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

reproducible: share the same apache settings between debian and debian_live_build artifacts



Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 8f95c35e
# vim: set noexpandtab:
<Macro https-redirect $name> <Macro https-redirect $name>
<VirtualHost *:80> <VirtualHost *:80>
ServerName $name ServerName $name
...@@ -101,6 +103,17 @@ ...@@ -101,6 +103,17 @@
CustomLog ${APACHE_LOG_DIR}/access.log combined CustomLog ${APACHE_LOG_DIR}/access.log combined
</Macro> </Macro>
<Macro r-b-artifacts $base>
<Directory /var/lib/jenkins/userContent/reproducible/$base/artifacts>
HeaderName .HEADER.html
<Limit GET POST HEAD>
Order Allow,Deny
Allow from all
Deny from env=bad_bot
</Limit>
</Directory>
</Macro>
Use https-redirect jenkins.debian.net Use https-redirect jenkins.debian.net
Use https-redirect reproducible.debian.net Use https-redirect reproducible.debian.net
Use https-redirect reproducible-builds.org Use https-redirect reproducible-builds.org
...@@ -198,14 +211,8 @@ Use https-redirect www.diffoscope.org ...@@ -198,14 +211,8 @@ Use https-redirect www.diffoscope.org
Include reproduciblemap.conf Include reproduciblemap.conf
<Directory /var/lib/jenkins/userContent/reproducible/debian/artifacts> Use r-b-artifacts debian
HeaderName .HEADER.html Use r-b-artifacts debian_live_build
<Limit GET POST HEAD>
Order Allow,Deny
Allow from all
Deny from env=bad_bot
</Limit>
</Directory>
# for watching service logfiles # for watching service logfiles
ScriptAlias /cgi-bin /srv/jenkins/bin/cgi-bin ScriptAlias /cgi-bin /srv/jenkins/bin/cgi-bin
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment