From 16077afc71a72b6444f42d9a927f1cff8fbe52fb Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Wed, 13 May 2020 19:47:50 +0300 Subject: redirect www to https (mga#26616) --- deployment/websites/manifests/www.pp | 4 ++++ 1 file changed, 4 insertions(+) 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}/", } -- cgit v1.2.1