# ************************************ # Managed by Puppet # ************************************ NameVirtualHost <%= @vhost_name %>:<%= @port %> :<%= @port %>> ServerName <%= @srvname %> <% if @serveraliases.is_a? Array -%> <% @serveraliases.each do |name| -%><%= " ServerAlias #{name}\n" %><% end -%> <% elsif @serveraliases != '' -%> <%= " ServerAlias #{@serveraliases}" %> <% end -%> DocumentRoot <%= @docroot %> Alias /bugday /srv/static/bugdaystats AllowOverride None Order allow,deny allow from all = 2.4> Require all granted Alias /reviews /srv/static/reviewday AllowOverride None Order allow,deny allow from all = 2.4> Require all granted Alias /openstack-health /srv/static/openstack-health AllowOverride None Order allow,deny allow from all = 2.4> Require all granted > Options <%= @options %> AllowOverride None Order allow,deny allow from all = 2.4> Require all granted # 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 AllowOverride None Order allow,deny allow from all = 2.4> Require all granted RedirectMatch permanent ^/rechecks(.*) /elastic-recheck Alias /elastic-recheck /usr/local/share/elastic-recheck AllowOverride None Order allow,deny allow from all = 2.4> Require all granted RedirectMatch temp ^/zuul(.*) http://zuulv3.openstack.org/ ErrorLog /var/log/apache2/<%= @name %>_error.log LogLevel warn CustomLog /var/log/apache2/<%= @name %>_access.log combined ServerSignature Off