From 9cdc1bd6e278b40af5624626dd70b16b2d8d280c Mon Sep 17 00:00:00 2001 From: Tigerfell Date: Mon, 18 Feb 2019 17:37:36 +0100 Subject: [PATCH] Set $wgCanonicalServer to change links in confirmation emails to https --- cookbooks/mediawiki/templates/default/LocalSettings.php.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb index 94ffead99..f5a3ea460 100644 --- a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb +++ b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb @@ -25,6 +25,7 @@ $wgScriptExtension = ".php"; ## The protocol and server name to use in fully-qualified URLs $wgServer = "//<%= @name %>"; $wgInternalServer = 'https://<%= @name %>'; +$wgCanonicalServer = 'https://<%= @name %>'; $wgSecureLogin = true; $wgDefaultUserOptions['prefershttps'] = 1; -- 2.43.2