43fdea4ac4
It doesn't seem like this is used anymore. Let's remove it before we update the rest of this, so that we don't have to, you know, update abandoned things. Change-Id: I1c3708021046a428da82eaa843961091915ba4af
76 lines
2.1 KiB
Plaintext
76 lines
2.1 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 ! ['', nil].include?(@serveraliases) -%>
|
|
<%= " ServerAlias #{@serveraliases}" %>
|
|
<% end -%>
|
|
DocumentRoot <%= @docroot %>
|
|
|
|
Alias /reviews /srv/static/reviewday
|
|
<Directory /srv/static/reviewday>
|
|
AllowOverride None
|
|
Order allow,deny
|
|
allow from all
|
|
<IfVersion >= 2.4>
|
|
Require all granted
|
|
</IfVersion>
|
|
</Directory>
|
|
|
|
Alias /openstack-health /srv/static/openstack-health
|
|
<Directory /srv/static/openstack-health>
|
|
AllowOverride None
|
|
Order allow,deny
|
|
allow from all
|
|
<IfVersion >= 2.4>
|
|
Require all granted
|
|
</IfVersion>
|
|
</Directory>
|
|
|
|
<Directory <%= @docroot %>>
|
|
Options <%= @options %>
|
|
AllowOverride None
|
|
Order allow,deny
|
|
allow from all
|
|
<IfVersion >= 2.4>
|
|
Require all granted
|
|
</IfVersion>
|
|
</Directory>
|
|
|
|
# Sample elastic-recheck config file, adjust prefixes
|
|
# per your local configuration. Because these are nested
|
|
# we need the more specific one first.
|
|
Alias /elastic-recheck/data /var/lib/elastic-recheck
|
|
<Directory /var/lib/elastic-recheck>
|
|
AllowOverride None
|
|
Order allow,deny
|
|
allow from all
|
|
<IfVersion >= 2.4>
|
|
Require all granted
|
|
</IfVersion>
|
|
</Directory>
|
|
|
|
RedirectMatch permanent ^/rechecks(.*) /elastic-recheck
|
|
Alias /elastic-recheck /usr/local/share/elastic-recheck
|
|
<Directory /usr/local/share/elastic-recheck>
|
|
AllowOverride None
|
|
Order allow,deny
|
|
allow from all
|
|
<IfVersion >= 2.4>
|
|
Require all granted
|
|
</IfVersion>
|
|
</Directory>
|
|
|
|
RedirectMatch temp ^/zuul(.*) http://zuul.openstack.org/
|
|
|
|
ErrorLog /var/log/apache2/<%= @name %>_error.log
|
|
LogLevel warn
|
|
CustomLog /var/log/apache2/<%= @name %>_access.log combined
|
|
ServerSignature Off
|
|
</VirtualHost>
|