8fcdb2327c
Serve status.o.o/release from the local releasestatus deployment, now that we validated that everything works from http://status.openstack.org/release.new Once this merges, I'll manually remove the old-wiki.o.o deployment. Change-Id: I0c676e3a68bb7ca5cf10899d65eefdb318f66948 Reviewed-on: https://review.openstack.org/30092 Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
# ************************************
|
|
# Managed by Puppet
|
|
# ************************************
|
|
|
|
NameVirtualHost <%= vhost_name %>:<%= port %>
|
|
<VirtualHost <%= vhost_name %>:<%= port %>>
|
|
ServerName <%= srvname %>
|
|
<% if serveraliases.is_a? Array -%>
|
|
<% serveraliases.each do |name| -%><%= " ServerAlias #{name}\n" %><% end -%>
|
|
<% elsif serveraliases != '' -%>
|
|
<%= " ServerAlias #{serveraliases}" %>
|
|
<% end -%>
|
|
DocumentRoot <%= docroot %>
|
|
|
|
RewriteEngine on
|
|
|
|
RewriteRule ^/rechecks$ /rechecks/ [R]
|
|
RewriteRule ^/rechecks/$ http://zuul.openstack.org/rechecks.html [P]
|
|
<Location /rechecks/>
|
|
Order allow,deny
|
|
Allow from all
|
|
</Location>
|
|
|
|
RewriteRule ^/bugday$ /bugday/ [R]
|
|
RewriteRule ^/bugday/(.*)$ http://old-wiki.openstack.org/bugday/$1 [P]
|
|
<Location /bugday/>
|
|
Order allow,deny
|
|
Allow from all
|
|
</Location>
|
|
|
|
Alias /reviews /srv/static/reviewday
|
|
Alias /release /srv/static/release
|
|
|
|
<Directory <%= docroot %>>
|
|
Options <%= options %>
|
|
AllowOverride None
|
|
Order allow,deny
|
|
allow from all
|
|
</Directory>
|
|
|
|
ErrorLog /var/log/apache2/<%= name %>_error.log
|
|
LogLevel warn
|
|
CustomLog /var/log/apache2/<%= name %>_access.log combined
|
|
ServerSignature Off
|
|
</VirtualHost>
|