1 # DO NOT EDIT - This file is being maintained by Chef
3 <% [80, 443].each do |port| -%>
5 <VirtualHost *:<%= port %>>
6 ServerName <%= @name %>
7 ServerAdmin webmaster@openstreetmap.org
13 CustomLog /var/log/apache2/<%= @name %>-access.log combined
14 ErrorLog /var/log/apache2/<%= @name %>-error.log
16 DocumentRoot <%= @directory %>
18 PassengerMinInstances 10
19 PassengerPreStart http://<%= @name %>/
22 CacheEnable disk /embed