summaryrefslogtreecommitdiff
path: root/templates/vhosts/static
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhosts/static')
-rw-r--r--templates/vhosts/static/OpenBSD.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/vhosts/static/OpenBSD.erb b/templates/vhosts/static/OpenBSD.erb
index 9d543a2..7751c6d 100644
--- a/templates/vhosts/static/OpenBSD.erb
+++ b/templates/vhosts/static/OpenBSD.erb
@@ -13,6 +13,10 @@
<%- if ssl_mode.to_s=='force' then %>
Redirect permanent / https://<%= servername %>/
<%- end %>
+
+ <%- unless additional_options.to_s == 'absent' then -%>
+ <%= additional_options %>
+ <%- end -%>
</VirtualHost>
<%- unless ssl_mode.to_s == 'false' then %>
<VirtualHost *:443>
@@ -26,5 +30,9 @@
ErrorLog <%= logdir %>/error_log
CustomLog <%= logdir %>/access_log combined
+
+ <%- unless additional_options.to_s == 'absent' then -%>
+ <%= additional_options %>
+ <%- end -%>
</VirtualHost>
<%- end %>