summaryrefslogtreecommitdiff
path: root/templates/vhosts/partials/header_default.erb
blob: d6d8c8605d9b86551dc97c150fee0b83f4e7b770 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  Include include.d/defaults.inc
<% if vhost_part == :ssl -%>
  Include include.d/ssl_defaults.inc
<% end -%>
  ServerName <%= servername %>
<% unless serveralias.empty? || (serveralias == 'absent') -%>
  ServerAlias <%= serveralias %>
<% end -%>
<% unless server_admin.empty? || (server_admin == 'absent') -%>
  ServerAdmin <%= server_admin %>
<% end -%>
<% unless documentroot == 'really_absent' -%>
  DocumentRoot <%= documentroot %>/
<% end -%>
<% if default_charset != 'absent' then -%>
  AddDefaultCharset <%= default_charset %>
<% end -%>
<% if passing_extension != 'absent' -%>
  DirectoryIndex index.htm index.html index.<%= passing_extension %>
<% end -%>