diff options
author | guido <guido@bruo.org> | 2015-01-12 12:43:35 -0300 |
---|---|---|
committer | guido <guido@bruo.org> | 2015-01-12 13:10:24 -0300 |
commit | 53b87cc2b283df665a46a5781974f9ffd047c72c (patch) | |
tree | 23d08699755258e13c372110b2cde2986b980f63 /puppet/modules/site_apache | |
parent | 4ab1478f0fd0a5870d0db4098c388040147348e8 (diff) |
Adds apache support for webapp.domain if defined. Fixes #6632
Change-Id: If63aac60e44c4a68f030f93e20e8dc071f9df610
Diffstat (limited to 'puppet/modules/site_apache')
-rw-r--r-- | puppet/modules/site_apache/templates/vhosts.d/common.conf.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/puppet/modules/site_apache/templates/vhosts.d/common.conf.erb b/puppet/modules/site_apache/templates/vhosts.d/common.conf.erb index a5f1fc51..87c40005 100644 --- a/puppet/modules/site_apache/templates/vhosts.d/common.conf.erb +++ b/puppet/modules/site_apache/templates/vhosts.d/common.conf.erb @@ -7,7 +7,9 @@ </VirtualHost> <VirtualHost *:443> - ServerName <%= domain_name %> + + ServerName <%= webapp_domain %> + ServerAlias <%= domain_name %> ServerAlias <%= domain %> ServerAlias www.<%= domain %> CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log common |