summaryrefslogtreecommitdiff
path: root/templates/vhosts/partials/header_default.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhosts/partials/header_default.erb')
-rw-r--r--templates/vhosts/partials/header_default.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/vhosts/partials/header_default.erb b/templates/vhosts/partials/header_default.erb
index dbba367..266fc79 100644
--- a/templates/vhosts/partials/header_default.erb
+++ b/templates/vhosts/partials/header_default.erb
@@ -4,7 +4,7 @@
<% end -%>
ServerName <%= @servername %>
<% unless @serveralias.empty? || (@serveralias == 'absent') -%>
- ServerAlias <%= Array(@serveralias).join(' ') %>
+ ServerAlias <%= Array(@serveralias).sort.join(' ') %>
<% end -%>
<% unless @server_admin.empty? || (@server_admin == 'absent') -%>
ServerAdmin <%= @server_admin %>