aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/templates
diff options
context:
space:
mode:
Diffstat (limited to 'modules/apache/templates')
-rw-r--r--modules/apache/templates/vhost_base.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/apache/templates/vhost_base.conf b/modules/apache/templates/vhost_base.conf
index 8e818f48..7d1a0d4e 100644
--- a/modules/apache/templates/vhost_base.conf
+++ b/modules/apache/templates/vhost_base.conf
@@ -12,6 +12,9 @@ end
SSLCertificateKeyFile /etc/ssl/apache/<%= name %>.pem
<%- end -%>
ServerName <%= real_vhost %>
+<%- server_aliases.each do |key| -%>
+ ServerAlias <%= key %>
+<%- end -%>
DocumentRoot <%= location %>
<%- if enable_public_html -%>