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