From: Tom Hughes Date: Mon, 9 Sep 2013 11:20:49 +0000 (+0100) Subject: Enable named based virtual hosts for https X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/350c97f6401f0d8d656007b132f27a11ac46a09c Enable named based virtual hosts for https --- diff --git a/cookbooks/apache/templates/default/ports.conf.erb b/cookbooks/apache/templates/default/ports.conf.erb index 588fcee5c..dbb43568f 100644 --- a/cookbooks/apache/templates/default/ports.conf.erb +++ b/cookbooks/apache/templates/default/ports.conf.erb @@ -6,10 +6,12 @@ Listen <%= node[:apache][:listen_address] %>:80 # Listen on port 443 if mod_ssl is enabled + NameVirtualHost *:443 Listen <%= node[:apache][:listen_address] %>:443 # Listen on port 443 if mod_gnutls is enabled + NameVirtualHost *:443 Listen <%= node[:apache][:listen_address] %>:443