]> git.openstreetmap.org Git - chef.git/blob - cookbooks/owl/templates/default/apache.erb
Add friendly names for passenger applications
[chef.git] / cookbooks / owl / templates / default / apache.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 %>/openstreetmap-watch-list/rails/public
11
12         RailsEnv production
13         PassengerAppGroupName owl
14
15         SetOutputFilter DEFLATE
16
17         CustomLog /var/log/apache2/<%= @name %>-access.log combined
18         ErrorLog /var/log/apache2/<%= @name %>-error.log
19 </VirtualHost>