fff4eb63d2
On a zuul server, install the default status page as shipped by Zuul (and its dependencies). Remove openstack-specific redirects (hopefully it's been long enough now). Change-Id: Idfa2d9a4aa261182d166a36193fe74e1d922bcd9 Reviewed-on: https://review.openstack.org/29262 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
24 lines
862 B
Plaintext
24 lines
862 B
Plaintext
<VirtualHost <%= scope.lookupvar("::zuul::vhost_name") %>:80>
|
|
ServerAdmin <%= scope.lookupvar("::zuul::serveradmin") %>
|
|
DocumentRoot /var/lib/zuul/www
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/<%= scope.lookupvar("::zuul::vhost_name") %>-error.log
|
|
|
|
LogLevel warn
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/<%= scope.lookupvar("::zuul::vhost_name") %>-access.log combined
|
|
|
|
RewriteEngine on
|
|
RewriteRule ^/status.json$ http://127.0.0.1:8001/status.json [P]
|
|
|
|
Alias /rechecks.html /var/www/recheckwatch/rechecks.html
|
|
Alias /rechecks /var/www/recheckwatch/rechecks.html
|
|
|
|
SetEnv GIT_PROJECT_ROOT /var/lib/zuul/git/
|
|
SetEnv GIT_HTTP_EXPORT_ALL
|
|
|
|
AliasMatch ^/p/(.*/objects/[0-9a-f]{2}/[0-9a-f]{38})$ /var/lib/zuul/git/$1
|
|
AliasMatch ^/p/(.*/objects/pack/pack-[0-9a-f]{40}.(pack|idx))$ /var/lib/zuul/git/$1
|
|
ScriptAlias /p/ /usr/lib/git-core/git-http-backend/
|
|
</VirtualHost>
|