diff options
author | kwadronaut <kwadronaut@leap.se> | 2013-09-22 00:13:13 +0200 |
---|---|---|
committer | kwadronaut <kwadronaut@leap.se> | 2013-09-22 00:13:13 +0200 |
commit | 5e582cbf9e2cd135009965433b4cd2a7747732ed (patch) | |
tree | dd1c2f5f2acb4efd4d529b9fc66c3606e57fd397 /puppet/modules/site_apache | |
parent | d7f5b368547f37cfa53cd606f3d72fab44b6bd7f (diff) | |
parent | a95e00f78e07d515b49de563ca5fbcd83be0d015 (diff) |
Merge branch 'api-crt-3384' into develop fixes #3384
Diffstat (limited to 'puppet/modules/site_apache')
-rw-r--r-- | puppet/modules/site_apache/templates/vhosts.d/api.conf.erb | 3 | ||||
-rw-r--r-- | puppet/modules/site_apache/templates/vhosts.d/leap_webapp.conf.erb | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/puppet/modules/site_apache/templates/vhosts.d/api.conf.erb b/puppet/modules/site_apache/templates/vhosts.d/api.conf.erb index 5f1f4c1d..9e2dbcaf 100644 --- a/puppet/modules/site_apache/templates/vhosts.d/api.conf.erb +++ b/puppet/modules/site_apache/templates/vhosts.d/api.conf.erb @@ -7,7 +7,8 @@ Listen 0.0.0.0:<%= api_port %> <VirtualHost *:<%= api_port -%>> - ServerName <%= api_domain %> + ServerName <%= domain_name %> + ServerAlias <%= api_domain %> SSLEngine on SSLProtocol -all +SSLv3 +TLSv1 diff --git a/puppet/modules/site_apache/templates/vhosts.d/leap_webapp.conf.erb b/puppet/modules/site_apache/templates/vhosts.d/leap_webapp.conf.erb index 5e3960c2..3b376839 100644 --- a/puppet/modules/site_apache/templates/vhosts.d/leap_webapp.conf.erb +++ b/puppet/modules/site_apache/templates/vhosts.d/leap_webapp.conf.erb @@ -6,7 +6,8 @@ </VirtualHost> <VirtualHost *:443> - ServerName <%= domain %> + ServerName <%= domain_name %> + ServerAlias <%= domain %> ServerAlias www.<%= domain %> SSLEngine on |