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.erb12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/vhosts/static/OpenBSD.erb b/templates/vhosts/static/OpenBSD.erb
index 7751c6d..d5714f0 100644
--- a/templates/vhosts/static/OpenBSD.erb
+++ b/templates/vhosts/static/OpenBSD.erb
@@ -14,6 +14,12 @@
Redirect permanent / https://<%= servername %>/
<%- end %>
+ <%- unless options.to_s == 'absent' then -%>
+ <Directory "<%= documentroot %>">
+ Options <%= options %>
+ </Directory>
+
+ <%- end %>
<%- unless additional_options.to_s == 'absent' then -%>
<%= additional_options %>
<%- end -%>
@@ -31,6 +37,12 @@
ErrorLog <%= logdir %>/error_log
CustomLog <%= logdir %>/access_log combined
+ <%- unless options.to_s == 'absent' then -%>
+ <Directory "<%= documentroot %>">
+ Options <%= options %>
+ </Directory>
+
+ <%- end %>
<%- unless additional_options.to_s == 'absent' then -%>
<%= additional_options %>
<%- end -%>