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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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 /release /srv/static/release
  26. Alias /openstack-health /srv/static/openstack-health
  27. <Directory /srv/static/openstack-health>
  28. AllowOverride None
  29. Order allow,deny
  30. allow from all
  31. </Directory>
  32. <Directory <%= @docroot %>>
  33. Options <%= @options %>
  34. AllowOverride None
  35. Order allow,deny
  36. allow from all
  37. </Directory>
  38. # Sample elastic-recheck config file, adjust prefixes
  39. # per your local configuration. Because these are nested
  40. # we need the more specific one first.
  41. Alias /elastic-recheck/data /var/lib/elastic-recheck
  42. <Directory /var/lib/elastic-recheck>
  43. AllowOverride None
  44. Order allow,deny
  45. allow from all
  46. </Directory>
  47. RedirectMatch permanent ^/rechecks(.*) /elastic-recheck
  48. Alias /elastic-recheck /usr/local/share/elastic-recheck
  49. <Directory /usr/local/share/elastic-recheck>
  50. AllowOverride None
  51. Order allow,deny
  52. allow from all
  53. </Directory>
  54. ErrorLog /var/log/apache2/<%= @name %>_error.log
  55. LogLevel warn
  56. CustomLog /var/log/apache2/<%= @name %>_access.log combined
  57. ServerSignature Off
  58. </VirtualHost>