From 350c97f6401f0d8d656007b132f27a11ac46a09c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 9 Sep 2013 12:20:49 +0100 Subject: [PATCH] Enable named based virtual hosts for https --- cookbooks/apache/templates/default/ports.conf.erb | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5