diff --git a/templates/zuul.vhost.erb b/templates/zuul.vhost.erb index 746d6dd..4b553b7 100644 --- a/templates/zuul.vhost.erb +++ b/templates/zuul.vhost.erb @@ -1,6 +1,6 @@ :80> ServerAdmin <%= scope.lookupvar("::zuul::serveradmin") %> - DocumentRoot /var/lib/zuul/www + DocumentRoot /var/www ErrorLog ${APACHE_LOG_DIR}/<%= scope.lookupvar("::zuul::vhost_name") %>-error.log @@ -9,7 +9,8 @@ CustomLog ${APACHE_LOG_DIR}/<%= scope.lookupvar("::zuul::vhost_name") %>-access.log combined RewriteEngine on - RewriteRule ^/zuul/status$ http://127.0.0.1:8001/status [P] + RewriteRule ^/$ http://status.openstack.org/zuul/ [R] + RewriteRule ^/zuul/status$ http://status.openstack.org/zuul/ [R] RewriteRule ^/status.json$ http://127.0.0.1:8001/status.json [P] Alias /rechecks.html /var/www/recheckwatch/rechecks.html