summaryrefslogtreecommitdiff
path: root/templates/vhosts/static
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-11-07 18:48:01 +0000
committermh <mh@immerda.ch>2008-11-07 18:48:01 +0000
commitcb859392d1086afb0784a73339ca8120ea9d9c9f (patch)
treef61127e8ec9b2e02fa0ae9ce815fdd4f20967208 /templates/vhosts/static
parentd5cd38b7e13d073ef48b49b11ceaac55dff23214 (diff)
added additional options
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 %>