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