From afb6c0dd267c02a868fbdb68187425050296dee1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?=
 <hugo.hornquist@liuformulastudent.se>
Date: Fri, 12 Jun 2020 00:02:22 +0000
Subject: [PATCH] Add trailing slash in wordpress config.

---
 modules/wordpress/manifests/init.pp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/wordpress/manifests/init.pp b/modules/wordpress/manifests/init.pp
index 8014394..7a383a0 100644
--- a/modules/wordpress/manifests/init.pp
+++ b/modules/wordpress/manifests/init.pp
@@ -94,7 +94,7 @@ define wordpress (
           docroot         => $wp_path,
           override        => ['All'],
           redirect_status => 'permanent',
-          redirect_dest   => "https://${name}",
+          redirect_dest   => "https://${name}/",
           before          => Letsencrypt::Certonly[$url],
         }
 
-- 
GitLab