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