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