summaryrefslogtreecommitdiff
path: root/templates/vhosts/perl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhosts/perl')
-rw-r--r--templates/vhosts/perl/CentOS.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/vhosts/perl/CentOS.erb b/templates/vhosts/perl/CentOS.erb
index f77a196..5eca429 100644
--- a/templates/vhosts/perl/CentOS.erb
+++ b/templates/vhosts/perl/CentOS.erb
@@ -1,4 +1,5 @@
# <%= servername %>
+<%- unless ssl_mode.to_s == 'only' then -%>
<VirtualHost *:80>
Include conf.d/defaults.inc
@@ -66,6 +67,7 @@
<%= additional_options %>
<%- end -%>
</VirtualHost>
+<%- end -%>
<%- unless ssl_mode.to_s == 'false' then -%>
<VirtualHost *:443>