# DO NOT EDIT - This file is being maintained by Chef
# Listen on port 80
<% if node[:lsb][:release].to_f < 14.04 -%>
NameVirtualHost *:80
<% end -%>
Listen <%= node[:apache][:listen_address] %>:80
# Listen on port 443 if mod_ssl is enabled
<% if node[:lsb][:release].to_f < 14.04 -%>
NameVirtualHost *:443
<% end -%>
Listen <%= node[:apache][:listen_address] %>:443
# Listen on port 443 if mod_gnutls is enabled
<% if node[:lsb][:release].to_f < 14.04 -%>
NameVirtualHost *:443
<% end -%>
Listen <%= node[:apache][:listen_address] %>:443