X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/d168351c5b49bd9689de106601c7267a19b7985b..3f2535167e3db969a0fee024dbfa43997fa6c9f8:/cookbooks/apache/templates/default/ports.conf.erb?ds=sidebyside 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