diff options
author | Thomas Backlund <tmb@mageia.org> | 2020-05-13 19:47:50 +0300 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2020-05-13 19:47:50 +0300 |
commit | 16077afc71a72b6444f42d9a927f1cff8fbe52fb (patch) | |
tree | 190de226a09a312ce645cc5f67b4d421ef668541 /deployment/websites/manifests/www.pp | |
parent | 96dc77b3fd466726e09d8a78ae49130eb8e3cfbc (diff) | |
download | puppet-16077afc71a72b6444f42d9a927f1cff8fbe52fb.tar puppet-16077afc71a72b6444f42d9a927f1cff8fbe52fb.tar.gz puppet-16077afc71a72b6444f42d9a927f1cff8fbe52fb.tar.bz2 puppet-16077afc71a72b6444f42d9a927f1cff8fbe52fb.tar.xz puppet-16077afc71a72b6444f42d9a927f1cff8fbe52fb.zip |
redirect www to https (mga#26616)
Diffstat (limited to 'deployment/websites/manifests/www.pp')
-rw-r--r-- | deployment/websites/manifests/www.pp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/deployment/websites/manifests/www.pp b/deployment/websites/manifests/www.pp index c0c556ea..07ee4ec4 100644 --- a/deployment/websites/manifests/www.pp +++ b/deployment/websites/manifests/www.pp @@ -50,6 +50,10 @@ class websites::www { options => ['FollowSymLinks'], } + apache::vhost_redirect { "${vhost}": + url => "https://www.${::domain}/", + } + apache::vhost_redirect { "${::domain}": url => "https://www.${::domain}/", } |