]> git.openstreetmap.org Git - chef.git/blob - cookbooks/owl/templates/default/apache.erb
94dbc3ef1fa4b1edc675d018bf4cbda55e0a2e86
[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
14         SetOutputFilter DEFLATE
15
16         CustomLog /var/log/apache2/<%= @name %>-access.log combined
17         ErrorLog /var/log/apache2/<%= @name %>-error.log
18 </VirtualHost>