System configuration for OpenStack Infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

status.vhost.erb 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. # ************************************
  2. # Managed by Puppet
  3. # ************************************
  4. NameVirtualHost <%= @vhost_name %>:<%= @port %>
  5. <VirtualHost <%= @vhost_name %>:<%= @port %>>
  6. ServerName <%= @srvname %>
  7. <% if @serveraliases.is_a? Array -%>
  8. <% @serveraliases.each do |name| -%><%= " ServerAlias #{name}\n" %><% end -%>
  9. <% elsif @serveraliases != '' -%>
  10. <%= " ServerAlias #{@serveraliases}" %>
  11. <% end -%>
  12. DocumentRoot <%= @docroot %>
  13. Alias /bugday /srv/static/bugdaystats
  14. <Directory /srv/static/bugdaystats>
  15. AllowOverride None
  16. Order allow,deny
  17. allow from all
  18. </Directory>
  19. Alias /reviews /srv/static/reviewday
  20. <Directory /srv/static/reviewday>
  21. AllowOverride None
  22. Order allow,deny
  23. allow from all
  24. </Directory>
  25. Alias /openstack-health /srv/static/openstack-health
  26. <Directory /srv/static/openstack-health>
  27. AllowOverride None
  28. Order allow,deny
  29. allow from all
  30. </Directory>
  31. <Directory <%= @docroot %>>
  32. Options <%= @options %>
  33. AllowOverride None
  34. Order allow,deny
  35. allow from all
  36. </Directory>
  37. # Sample elastic-recheck config file, adjust prefixes
  38. # per your local configuration. Because these are nested
  39. # we need the more specific one first.
  40. Alias /elastic-recheck/data /var/lib/elastic-recheck
  41. <Directory /var/lib/elastic-recheck>
  42. AllowOverride None
  43. Order allow,deny
  44. allow from all
  45. </Directory>
  46. RedirectMatch permanent ^/rechecks(.*) /elastic-recheck
  47. Alias /elastic-recheck /usr/local/share/elastic-recheck
  48. <Directory /usr/local/share/elastic-recheck>
  49. AllowOverride None
  50. Order allow,deny
  51. allow from all
  52. </Directory>
  53. ErrorLog /var/log/apache2/<%= @name %>_error.log
  54. LogLevel warn
  55. CustomLog /var/log/apache2/<%= @name %>_access.log combined
  56. ServerSignature Off
  57. </VirtualHost>