summaryrefslogtreecommitdiff
path: root/templates/vhosts/static
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-12-06 12:17:48 +0000
committermh <mh@immerda.ch>2008-12-06 12:17:48 +0000
commitaac520a5ce0051034f68b1aa88c5fe181c89d160 (patch)
tree2182f9716255734371e185229cb63b7a896f32b9 /templates/vhosts/static
parent60c2f219d5531873899fed29e4ddc6d52ab7e268 (diff)
- added default charset possiblity
- enabled ssl on all 3 vhost modes
Diffstat (limited to 'templates/vhosts/static')
-rw-r--r--templates/vhosts/static/OpenBSD.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/vhosts/static/OpenBSD.erb b/templates/vhosts/static/OpenBSD.erb
index 4e95988..9aee749 100644
--- a/templates/vhosts/static/OpenBSD.erb
+++ b/templates/vhosts/static/OpenBSD.erb
@@ -9,7 +9,9 @@
ErrorLog <%= logdir %>/error_log
CustomLog <%= logdir %>/access_log combined
-
+ <%- if default_charset.to_s != 'absent' then -%>
+ AddDefaultCharset <%= default_charset %>
+ <%- end -%>
<%- if ssl_mode.to_s == 'force' then -%>
Redirect permanent / https://<%= servername %>/
<%- end -%>