From: Silvio Rhatto Date: Fri, 25 Mar 2016 19:44:06 +0000 (-0300) Subject: User default host as a ServerAlias form the domain X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=10a787b642395778fa75d73ca44bdf98ffec5b01;p=puppet-apache.git User default host as a ServerAlias form the domain --- diff --git a/templates/default.erb b/templates/default.erb index 08c3a87..0cc8996 100644 --- a/templates/default.erb +++ b/templates/default.erb @@ -1,6 +1,7 @@ # begin vhost for <%= @fqdn %> > ServerName <%= @fqdn %> + ServerAlias <%= @domain %> DocumentRoot <%= scope.lookupvar('apache::default_folder') %> # begin site config