diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-03-25 16:44:06 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-03-25 16:44:06 -0300 |
commit | 10a787b642395778fa75d73ca44bdf98ffec5b01 (patch) | |
tree | 2266671eea8274979cb38002553761117bf43560 /templates | |
parent | 2573ebe6cd25cc5ad6ee64f03dd08bb57c277dc8 (diff) | |
download | puppet-apache-10a787b642395778fa75d73ca44bdf98ffec5b01.tar.gz puppet-apache-10a787b642395778fa75d73ca44bdf98ffec5b01.tar.bz2 |
User default host as a ServerAlias form the domain
Diffstat (limited to 'templates')
-rw-r--r-- | templates/default.erb | 1 |
1 files changed, 1 insertions, 0 deletions
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 %> <VirtualHost *:<%= scope.lookupvar('apache::http_port') %>> ServerName <%= @fqdn %> + ServerAlias <%= @domain %> DocumentRoot <%= scope.lookupvar('apache::default_folder') %> # begin site config |