]> git.openstreetmap.org Git - chef.git/blob - cookbooks/dev/templates/default/apache.rails.erb
Add a load more cookbooks to the public repository
[chef.git] / cookbooks / dev / templates / default / apache.rails.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 <VirtualHost *:80>
4         ServerName <%= @name %>
5 <% @aliases.each do |alias_name| -%>
6         ServerAlias <%= alias_name %>
7 <% end -%>
8         ServerAdmin webmaster@openstreetmap.org
9
10         DocumentRoot /srv/<%= @name %>/public
11
12         CustomLog /var/log/apache2/<%= @name %>-access.log combined
13         ErrorLog /var/log/apache2/<%= @name %>-error.log
14
15         RailsEnv production
16 </VirtualHost>